[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 24 11:51:12 PST 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

ScheduleDAG.cpp updated: 1.69 -> 1.70
---
Log message:

Pass all the flags to the asm printer, not just the # operands.


---
Diffs of the changes:  (+1 -1)

 ScheduleDAG.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.69 llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.70
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.69	Fri Feb 24 13:18:20 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp	Fri Feb 24 13:50:58 2006
@@ -328,7 +328,7 @@
         unsigned Flags = cast<ConstantSDNode>(Node->getOperand(i))->getValue();
         unsigned NumVals = Flags >> 3;
         
-        MI->addZeroExtImm64Operand(NumVals);
+        MI->addZeroExtImm64Operand(Flags);
         ++i;  // Skip the ID value.
         
         switch (Flags & 7) {






More information about the llvm-commits mailing list