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

Anton Korobeynikov
Thu, 16 Feb 2012 18:44:53 -0000

> 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