diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-06 03:04:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-06 03:04:17 +0000 |
commit | 9c1291c85ec5d62ad47c4fe71aa4a978a0c32442 (patch) | |
tree | e0c019e20070526081d6fe32c67c7e4f7e0ecdc7 /tools/gccas/gccas.cpp | |
parent | 267730367f92b5057713ec1519a572d1bcc92f08 (diff) | |
download | external_llvm-9c1291c85ec5d62ad47c4fe71aa4a978a0c32442.zip external_llvm-9c1291c85ec5d62ad47c4fe71aa4a978a0c32442.tar.gz external_llvm-9c1291c85ec5d62ad47c4fe71aa4a978a0c32442.tar.bz2 |
Run DCE AFTER SCCP and GCSE!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/gccas.cpp')
-rw-r--r-- | tools/gccas/gccas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index ce22ccd..a292a71 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -83,9 +83,9 @@ int main(int argc, char **argv) { Passes.add(createRaisePointerReferencesPass()); // Eliminate casts Passes.add(createPromoteMemoryToRegister()); // Promote alloca's to regs Passes.add(createInstructionCombiningPass()); // Combine silly seq's - Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars Passes.add(createSCCPPass()); // Constant prop with SCCP Passes.add(createGCSEPass()); // Remove common subexprs + Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars } Passes.add(new WriteBytecodePass(&Out)); // Write bytecode to file... |