[LLVMdev] Tell LLVM JIT to omit the frame pointer?
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;
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?
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.
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev