1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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.

llvm-svn: 123418
This commit is contained in:
Owen Anderson 2011-01-14 00:41:11 +00:00
parent 44c273d907
commit 6de2a4d67c

View File

@ -83,7 +83,7 @@ namespace llvm {
createStandardAliasAnalysisPasses(PM); createStandardAliasAnalysisPasses(PM);
PM->add(createCFGSimplificationPass()); PM->add(createCFGSimplificationPass());
PM->add(createScalarReplAggregatesPass()); PM->add(createScalarReplAggregatesPass());
PM->add(createInstructionCombiningPass()); PM->add(createEarlyCSEPass());
} }
} }