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:
parent
44c273d907
commit
6de2a4d67c
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user