// Replace malloc and free instructions with library calls.
PM.add(createLowerAllocationsPass());
- // FIXME: implement the select instruction in the instruction selector.
- PM.add(createLowerSelectPass());
-
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
// Make sure that no unreachable blocks are instruction selected.
PM.add(createUnreachableBlockEliminationPass());
+ // FIXME: implement the select instruction in the instruction selector.
+ PM.add(createLowerSelectPass());
+
PM.add(createSparcV8SimpleInstructionSelector(*this));
// Print machine instructions as they were initially generated.
// Replace malloc and free instructions with library calls.
PM.add(createLowerAllocationsPass());
- // FIXME: implement the select instruction in the instruction selector.
- PM.add(createLowerSelectPass());
-
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
// Make sure that no unreachable blocks are instruction selected.
PM.add(createUnreachableBlockEliminationPass());
+ // FIXME: implement the select instruction in the instruction selector.
+ PM.add(createLowerSelectPass());
+
PM.add(createSparcV8SimpleInstructionSelector(TM));
// Print machine instructions as they were initially generated.
// Replace malloc and free instructions with library calls.
PM.add(createLowerAllocationsPass());
- // FIXME: implement the select instruction in the instruction selector.
- PM.add(createLowerSelectPass());
-
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
// Make sure that no unreachable blocks are instruction selected.
PM.add(createUnreachableBlockEliminationPass());
+ // FIXME: implement the select instruction in the instruction selector.
+ PM.add(createLowerSelectPass());
+
PM.add(createSparcV8SimpleInstructionSelector(*this));
// Print machine instructions as they were initially generated.
// Replace malloc and free instructions with library calls.
PM.add(createLowerAllocationsPass());
- // FIXME: implement the select instruction in the instruction selector.
- PM.add(createLowerSelectPass());
-
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
// Make sure that no unreachable blocks are instruction selected.
PM.add(createUnreachableBlockEliminationPass());
+ // FIXME: implement the select instruction in the instruction selector.
+ PM.add(createLowerSelectPass());
+
PM.add(createSparcV8SimpleInstructionSelector(TM));
// Print machine instructions as they were initially generated.