[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Evan Cheng
evan.cheng at apple.com
Sat Nov 11 02:20:19 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
ScheduleDAG.cpp updated: 1.107 -> 1.108
---
Log message:
Add methods to add implicit def use operands to a MI.
---
Diffs of the changes: (+1 -10)
ScheduleDAG.cpp | 11 +----------
1 files changed, 1 insertion(+), 10 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.107 llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.108
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.107 Fri Nov 10 02:38:20 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Sat Nov 11 04:20:02 2006
@@ -442,16 +442,7 @@
}
// Emit implicit def / use operands.
- if (II.ImplicitDefs) {
- for (const unsigned *ImplicitDefs = II.ImplicitDefs;
- *ImplicitDefs; ++ImplicitDefs)
- MI->addRegOperand(*ImplicitDefs, true, true);
- }
- if (II.ImplicitUses) {
- for (const unsigned *ImplicitUses = II.ImplicitUses;
- *ImplicitUses; ++ImplicitUses)
- MI->addRegOperand(*ImplicitUses, false, true);
- }
+ MI->addImplicitDefUseOperands();
// Now that we have emitted all operands, emit this instruction itself.
if ((II.Flags & M_USES_CUSTOM_DAG_SCHED_INSERTION) == 0) {
More information about the llvm-commits
mailing list