[LLVMdev] adding switches to llvm-ld to disable certain optimizations.

Chris Lattner clattner at apple.com
Tue Feb 9 21:58:18 PST 2010


On Feb 9, 2010, at 7:39 PM, Sanjiv Gupta wrote:

> Hi,
> I need to add switches like -disable-mem2reg, disable-gvn to llvm-ld. 
> Currently CreateStandardLTOPasses takes in only DisableInternalize and 
> DisableInliner switches.
> 
> Is modifying this API okay for these new switches, or is it doable in 
> some other ways ?

Why do you want this?

-Chris



More information about the llvm-dev mailing list