[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Evan Cheng
evan.cheng at apple.com
Mon Nov 13 15:35:14 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
ScheduleDAG.cpp updated: 1.108 -> 1.109
---
Log message:
Matches MachineInstr changes.
---
Diffs of the changes: (+1 -4)
ScheduleDAG.cpp | 5 +----
1 files changed, 1 insertion(+), 4 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.108 llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.109
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.108 Sat Nov 11 04:20:02 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Mon Nov 13 17:35:00 2006
@@ -395,7 +395,7 @@
#endif
// Create the new machine instruction.
- MachineInstr *MI = new MachineInstr(Opc, NumMIOperands);
+ MachineInstr *MI = new MachineInstr(*TII, Opc, NumMIOperands);
// Add result register values for things that are defined by this
// instruction.
@@ -441,9 +441,6 @@
}
}
- // Emit implicit def / use operands.
- MI->addImplicitDefUseOperands();
-
// Now that we have emitted all operands, emit this instruction itself.
if ((II.Flags & M_USES_CUSTOM_DAG_SCHED_INSERTION) == 0) {
BB->insert(BB->end(), MI);
More information about the llvm-commits
mailing list