diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2005-11-18 13:57:03 +0000 |
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-11-18 13:57:03 +0000 |
| commit | 6bc51c6f3462650305b85cd57f081fec12d752e8 (patch) | |
| tree | 32dc88f5d1adf6e0049129da484c99457f1e1ed8 | |
| parent | 127321b14c5bc9230fee6ab008ec2a7b0877f6f5 (diff) | |
| download | bcm5719-llvm-6bc51c6f3462650305b85cd57f081fec12d752e8.tar.gz bcm5719-llvm-6bc51c6f3462650305b85cd57f081fec12d752e8.zip | |
prevent latent switch creation
llvm-svn: 24413
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp index fd9cbe59bc5..21a7f989810 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp @@ -79,7 +79,9 @@ bool AlphaTargetMachine::addPassesToEmitFile(PassManager &PM, if (FileType != TargetMachine::AssemblyFile) return true; PM.add(createLoopStrengthReducePass()); + PM.add(createCFGSimplificationPass()); + // FIXME: Implement efficient support for garbage collection intrinsics. PM.add(createLowerGCPass()); @@ -92,8 +94,6 @@ bool AlphaTargetMachine::addPassesToEmitFile(PassManager &PM, // Make sure that no unreachable blocks are instruction selected. PM.add(createUnreachableBlockEliminationPass()); - PM.add(createCFGSimplificationPass()); - if (EnableAlphaDAG) PM.add(createAlphaISelDag(*this)); else |

