[LLVMdev] Setting how aggressive the inliner is in 2.1
sabre at nondot.org
Tue Jan 8 15:26:50 CST 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
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.
More information about the LLVMdev