diff options
author | Owen Anderson <resistor@mac.com> | 2011-01-14 00:41:11 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-01-14 00:41:11 +0000 |
commit | c5f608b49c2f003d9a6995f6d39d36efe34927fe (patch) | |
tree | 4c7ada85b12d3c83451a24bdc71d3e1877996b52 | |
parent | c43cee3fbb3098f0647e50dd2c13bc55b027a228 (diff) |
Rather than doing early instcombine, try doing early CSE instead. This should still handle
most important simplifications, as well as resolving phase ordering issues where instcombine
would inhibit important CSE'ing opportunities, for instance on BitBench/drop3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123418 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/StandardPasses.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h index 9ef5ff8851..9cd210e2b0 100644 --- a/include/llvm/Support/StandardPasses.h +++ b/include/llvm/Support/StandardPasses.h @@ -83,7 +83,7 @@ namespace llvm { createStandardAliasAnalysisPasses(PM); PM->add(createCFGSimplificationPass()); PM->add(createScalarReplAggregatesPass()); - PM->add(createInstructionCombiningPass()); + PM->add(createEarlyCSEPass()); } } |