search for: theoptimizations

Displaying 1 result from an estimated 1 matches for "theoptimizations".

Did you mean: deoptimizations
2011 Nov 22
2
[LLVMdev] Instrumentation passes and -O0 optimization level
...e disabled regardless of the optimizationlevel. My proposal is to add a specific extension point to preserve a passeven if O0 is used (below is the usage example with theAddressSanitizer pass)Another solution would be to introduce a passattribute which tells whether the pass should be preserved if theoptimizations are disabled, but this will require some refactoring ofthe PassManagerBuilder class. What do you think of the following patch? -------------------------8<--------------------------------------------------Index: include/llvm/Transforms/IPO/PassManagerBuilder.h==================================...