From cc3d8e3c229768fb500b2721dbe4285d8e72516d Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 3 Jan 2011 07:53:18 +0000 Subject: [PATCH] Undo what looks like accidental removal of an instcombine pass in r122740. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122743 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/StandardPasses.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h index 6a428e7b4dd..9372bf299a5 100644 --- a/include/llvm/Support/StandardPasses.h +++ b/include/llvm/Support/StandardPasses.h @@ -132,6 +132,7 @@ namespace llvm { PM->add(createEarlyCSEPass()); // Catch trivial redundancies if (SimplifyLibCalls) PM->add(createSimplifyLibCallsPass()); // Library Call Optimizations + PM->add(createInstructionCombiningPass()); // Cleanup for scalarrepl. PM->add(createJumpThreadingPass()); // Thread jumps. PM->add(createCorrelatedValuePropagationPass()); // Propagate conditionals PM->add(createCFGSimplificationPass()); // Merge & remove BBs -- 2.34.1