[LLVMdev] Tell LLVM JIT to omit the frame pointer?
Howell, Nathan
nhowell at ebay.com
Mon Jun 28 10:33:39 PDT 2010
Take look at TargetOptions.h - http://llvm.org/doxygen/TargetOptions_8h_source.html
I thought FPO is enabled by default (I explicitly disable it), but try setting:
llvm::NoFramePointerElim = false;
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Félix Cloutier
Sent: Monday, June 28, 2010 9:49 AM
To: LLVM Developers Mailing List
Subject: [LLVMdev] Tell LLVM JIT to omit the frame pointer?
Hey guys,
Is there a way to force the LLVM JIT compiler to omit the frame pointer in its generated i386/amd64 code? I've got a complex situation in which the stack can potentially be moved around so I'd prefer that the base pointer doesn't get pushed there.
Félix
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list