mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Run expression reassociation as part of gccas
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2556 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
557a143b82
commit
94fbab0022
@ -77,6 +77,7 @@ int main(int argc, char **argv) {
|
||||
if (!StopAtLevelRaise) {
|
||||
Passes.add(createRaisePointerReferencesPass()); // Eliminate casts
|
||||
Passes.add(createPromoteMemoryToRegister()); // Promote alloca's to regs
|
||||
Passes.add(createReassociatePass()); // Reassociate expressions
|
||||
Passes.add(createInstructionCombiningPass()); // Combine silly seq's
|
||||
Passes.add(createDeadInstEliminationPass()); // Kill InstCombine remnants
|
||||
Passes.add(createGCSEPass()); // Remove common subexprs
|
||||
|
Loading…
Reference in New Issue
Block a user