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

Sanjiv Gupta sanjiv.gupta at microchip.com
Tue Feb 9 19:39:22 PST 2010


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 ?

- Sanjiv




More information about the llvm-dev mailing list