[llvm-commits] CVS: llvm/utils/TableGen/InstrInfoEmitter.cpp

Evan Cheng evan.cheng at apple.com
Mon May 14 18:20:55 PDT 2007



Changes in directory llvm/utils/TableGen:

InstrInfoEmitter.cpp updated: 1.57 -> 1.58
---
Log message:

Mark all (not just the first) predicate operand M_PREDICATE_OPERAND.

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

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


Index: llvm/utils/TableGen/InstrInfoEmitter.cpp
diff -u llvm/utils/TableGen/InstrInfoEmitter.cpp:1.57 llvm/utils/TableGen/InstrInfoEmitter.cpp:1.58
--- llvm/utils/TableGen/InstrInfoEmitter.cpp:1.57	Mon Mar 19 01:20:37 2007
+++ llvm/utils/TableGen/InstrInfoEmitter.cpp	Mon May 14 20:20:36 2007
@@ -107,7 +107,7 @@
 
       // Predicate operands.  Check to see if the original unexpanded operand
       // was of type PredicateOperand.
-      if (j == 0 && Inst.OperandList[i].Rec->isSubClassOf("PredicateOperand"))
+      if (Inst.OperandList[i].Rec->isSubClassOf("PredicateOperand"))
         Res += "|M_PREDICATE_OPERAND";
         
       // Fill in constraint info.






More information about the llvm-commits mailing list