[llvm-commits] [llvm-gcc-4.2] r103976 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.h

Duncan Sands baldrick at free.fr
Mon May 17 23:38:11 PDT 2010


Hi Bill,

> Turn on "--disable-non-leaf-fp-elim" if -momit-leaf-frame-pointer is specified.

if -fomit-frame-pointer and -momit-leaf-frame-pointer are both specified,
then the frame pointer should be omitted for all functions.  Will your
patch do this?  Also, if -fomit-frame-pointer is not specified, but
-momit-leaf-frame-pointer is, I hope -disable-fp-elim is not passed to
llc.  How does that work?  Presumably due to how gcc is setting up the
various flags.  Can you please add some comments.

Thanks,

Duncan.



More information about the llvm-commits mailing list