[LLVMdev] Setting how aggressive the inliner is in 2.1
Chris Lattner
sabre at nondot.org
Tue Jan 8 13:26:50 PST 2008
On Mon, 7 Jan 2008, Robert Zeh wrote:
> Is there a way to set how aggressive the inliner pass
> (createFunctionInliningPass) without going through the command line
> interface?
Nope. Well, you could call cl::ParseCommandLine yourself (passing in a
static array) like llvm-gcc does, but other than that "no".
> Is there any reason InlineLimit isn't an argument to the
> createFunctionInliningPass function?
Nope :). That would be a great enhancement.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list