mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Add LICM pass to compiler
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2613 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0fe2153507
commit
88fcc513aa
@ -80,6 +80,7 @@ int main(int argc, char **argv) {
|
||||
Passes.add(createReassociatePass()); // Reassociate expressions
|
||||
Passes.add(createInstructionCombiningPass()); // Combine silly seq's
|
||||
Passes.add(createDeadInstEliminationPass()); // Kill InstCombine remnants
|
||||
Passes.add(createLICMPass()); // Hoist loop invariants
|
||||
Passes.add(createGCSEPass()); // Remove common subexprs
|
||||
Passes.add(createSCCPPass()); // Constant prop with SCCP
|
||||
Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars
|
||||
|
Loading…
x
Reference in New Issue
Block a user