summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitc637c49c114be2553f5067a29d49b8ede25bfe86 (patch)
tree3594be8a458de6b4e203fe7396e84ee3af88e967 /llvm
parent73f988cafa3f640bb1d2f694afb878ded5fc8eab (diff)
downloadbcm5719-llvm-c637c49c114be2553f5067a29d49b8ede25bfe86.tar.gz
bcm5719-llvm-c637c49c114be2553f5067a29d49b8ede25bfe86.zip
Tentatively add correlated value propagation to the set of standard passes.
llvm-svn: 112723
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/StandardPasses.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/StandardPasses.h b/llvm/include/llvm/Support/StandardPasses.h
index 9df8a650e9d..bb3bddd3c79 100644
--- a/llvm/include/llvm/Support/StandardPasses.h
+++ b/llvm/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
OpenPOWER on IntegriCloud