if (FileType != TargetMachine::AssemblyFile) return true;
PM.add(createLoopStrengthReducePass());
+ PM.add(createCFGSimplificationPass());
+
// FIXME: Implement efficient support for garbage collection intrinsics.
PM.add(createLowerGCPass());
// Make sure that no unreachable blocks are instruction selected.
PM.add(createUnreachableBlockEliminationPass());
- PM.add(createCFGSimplificationPass());
-
if (EnableAlphaDAG)
PM.add(createAlphaISelDag(*this));
else
void AlphaJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
- if (EnableAlphaLSR) {
- PM.add(createLoopStrengthReducePass());
- PM.add(createCFGSimplificationPass());
- }
+ PM.add(createLoopStrengthReducePass());
+ PM.add(createCFGSimplificationPass());
// FIXME: Implement efficient support for garbage collection intrinsics.
PM.add(createLowerGCPass());