Skip to content

Commit

Permalink
Add substitution in -O0 optimization level
Browse files Browse the repository at this point in the history
  • Loading branch information
obfuscator-llvm committed Nov 5, 2014
1 parent 7e34791 commit 54b54ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Transforms/IPO/PassManagerBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) {
if (!GlobalExtensions->empty() || !Extensions.empty())
MPM.add(createBarrierNoopPass());

MPM.add(createSubstitution(Substitution));
addExtensionsToPM(EP_EnabledOnOptLevel0, MPM);
return;
}
Expand Down

0 comments on commit 54b54ee

Please sign in to comment.