diff options
Diffstat (limited to 'backend/src/llvm/llvm_to_gen.cpp')
-rw-r--r-- | backend/src/llvm/llvm_to_gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/llvm/llvm_to_gen.cpp b/backend/src/llvm/llvm_to_gen.cpp index ad07c5e3..e11e449a 100644 --- a/backend/src/llvm/llvm_to_gen.cpp +++ b/backend/src/llvm/llvm_to_gen.cpp @@ -83,11 +83,11 @@ namespace gbe passes.add(createScalarReplAggregatesPass()); // Break up allocas passes.add(createRemoveGEPPass(unit)); passes.add(createConstantPropagationPass()); - passes.add(createDeadInstEliminationPass()); // Remove simplified instructions passes.add(createLowerSwitchPass()); passes.add(createPromoteMemoryToRegisterPass()); passes.add(createGVNPass()); // Remove redundancies passes.add(createScalarizePass()); // Expand all vector ops + passes.add(createDeadInstEliminationPass()); // Remove simplified instructions passes.add(createGenPass(unit)); // Print the code extra optimization passes |