Tuesday, June 27, 2006

Serious issue

Because X86 is quite annoying, I have decided to install the Power PC version of LLVM. Because it needed GCC 4.1, I had to install Tiger. I was very reluctant to install Tiger, because I really liked Panther. Surprisingly, the installation went quite smoothly. After that, I discover that Tiger only comes with GCC 4.0.0, which did not compile LLVM correctly. So, go and download the XDeveloper 2.3, which also installs quite easily (those people from MacOS deserve some candies). Everything put together, go to install LLVM. Oh, God, it took me a long while to figure the class path out, now that I had two versions of llvm in the same computer. Anyways, now it is working, and I am using the PowerPC version of LLVM, be it for good, or be it for bad. But there is now one quite serious issue: in the way LLVM is implemented, it requires that the first and second operand of a three address code instruction be the same. The pass used to put the program in this format breaks SSA. I am not sure yet how to solve this. Go and talk to the LLVM guys...

0 Comments:

Post a Comment

<< Home