[LLVMdev] detailed comparison of generated code size for LLVM and other compilers

John Regehr regehr at cs.utah.edu
Mon Dec 14 16:34:51 PST 2009


> The issue here is more arbitrary differences due to different default
> code generation choices; for example, clang defaults to generating
> SSE2 code, while llvm-gcc defaults to using x87 FP.

Aha, this explains some apparently bizarre results such as the second one 
(018427, d) on this page:

http://embed.cs.utah.edu/embarrassing/dec_09/harvest/llvm-gcc-head_clang-head/

I had been wondering about this one.

John



More information about the llvm-dev mailing list