summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-11-13 23:36:35 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-11-13 23:36:35 +0000
commitdbd3d294e6dec8928f56975b19b91c8772d7f937 (patch)
tree61b8f3847f6b516ef35c93c05a3e7b389c4b1cbf /llvm/lib/CodeGen
parent77af6ac5e869e05ce3d49e22ea1b022ee9c6564b (diff)
downloadbcm5719-llvm-dbd3d294e6dec8928f56975b19b91c8772d7f937.tar.gz
bcm5719-llvm-dbd3d294e6dec8928f56975b19b91c8772d7f937.zip
Matches MachineInstr changes.
llvm-svn: 31712
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index cafe3b6ffee..5330306c2ad 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@ -395,7 +395,7 @@ void ScheduleDAG::EmitNode(SDNode *Node,
#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 @@ void ScheduleDAG::EmitNode(SDNode *Node,
}
}
- // 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);
OpenPOWER on IntegriCloud