X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FAlpha%2FAlphaTargetMachine.cpp;h=21a7f989810b8df1fcccb855d076391b261e1e9e;hb=cfb2815695051e30a93108b57038728ba1acc430;hp=fd9cbe59bc52c71168e8de5a98c4fec9af8e2635;hpb=773a959523dba0b6103d3455d69a136eab460ac8;p=oota-llvm.git diff --git a/lib/Target/Alpha/AlphaTargetMachine.cpp b/lib/Target/Alpha/AlphaTargetMachine.cpp index fd9cbe59bc5..21a7f989810 100644 --- a/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/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