[LLVMdev] difference in function prologue generated with clang and gcc

Anton Korobeynikov anton at korobeynikov.info
Thu Feb 16 10:44:53 PST 2012

> Thanks for the reply. I have not specified optimization level explicitly
> during compilation. For GCC default is O0 ie., no optimization. Do you mean
> that clang uses other optimization level other than O0 ?
No, here it's still -O0. However it makes no sense to compare the size
of unoptimized code.

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list