summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-09-01 18:30:15 +0000
committerOwen Anderson <resistor@mac.com>2010-09-01 18:30:15 +0000
commit5627db6fb9f12e662d9026d5791506f791abe069 (patch)
treeb0953bf7ba8fc612276042151f4ad2476b1b1f87 /include
parent9bfa6fec068abb8bea4da03e5c9c39765f963ef2 (diff)
downloadllvm-5627db6fb9f12e662d9026d5791506f791abe069.tar.gz
llvm-5627db6fb9f12e662d9026d5791506f791abe069.tar.bz2
llvm-5627db6fb9f12e662d9026d5791506f791abe069.tar.xz
Tentatively add correlated value propagation to the set of standard passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/StandardPasses.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h
index 9df8a650e9..bb3bddd3c7 100644
--- a/include/llvm/Support/StandardPasses.h
+++ b/include/llvm/Support/StandardPasses.h
@@ -146,6 +146,7 @@ namespace llvm {
// opened up by them.
PM->add(createInstructionCombiningPass());
PM->add(createJumpThreadingPass()); // Thread jumps
+ PM->add(createCorrelatedValuePropagationPass());
PM->add(createDeadStoreEliminationPass()); // Delete dead stores
PM->add(createAggressiveDCEPass()); // Delete dead instructions
PM->add(createCFGSimplificationPass()); // Merge & remove BBs