summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-11-18 13:57:03 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-11-18 13:57:03 +0000
commit6bc51c6f3462650305b85cd57f081fec12d752e8 (patch)
tree32dc88f5d1adf6e0049129da484c99457f1e1ed8 /llvm/lib/Target/Alpha
parent127321b14c5bc9230fee6ab008ec2a7b0877f6f5 (diff)
downloadbcm5719-llvm-6bc51c6f3462650305b85cd57f081fec12d752e8.tar.gz
bcm5719-llvm-6bc51c6f3462650305b85cd57f081fec12d752e8.zip
prevent latent switch creation
llvm-svn: 24413
Diffstat (limited to 'llvm/lib/Target/Alpha')
-rw-r--r--llvm/lib/Target/Alpha/AlphaTargetMachine.cpp4
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
OpenPOWER on IntegriCloud