[LLVMdev] LLVM optmization

Duncan Sands baldrick at free.fr
Tue Jan 13 05:55:06 PST 2009


Hi Manoel,

> The following C test program was  compiled using LLVM with -O3 option  and MSVC with /O2.
> The MSVC one is about 600 times faster than the one compiled with the LLVM.
> We can see that the for loop in MSVC assembler is solved in the optimization pass more efficiently than that in LLVM.
> Is there an way to get a optimization result in LLVM like that of the MSVC?

can you please provide a testcase that doesn't need windows.
I don't think many people around here have windows...

Ciao,

Duncan.



More information about the llvm-dev mailing list