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

Evan Cheng evan.cheng at apple.com
Fri Dec 1 14:57:56 PST 2006



Changes in directory llvm/utils/TableGen:

CodeGenTarget.cpp updated: 1.79 -> 1.80
---
Log message:

Match TargetInstrInfo changes.

---
Diffs of the changes:  (+2 -3)

 CodeGenTarget.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/utils/TableGen/CodeGenTarget.cpp
diff -u llvm/utils/TableGen/CodeGenTarget.cpp:1.79 llvm/utils/TableGen/CodeGenTarget.cpp:1.80
--- llvm/utils/TableGen/CodeGenTarget.cpp:1.79	Wed Nov 15 17:23:02 2006
+++ llvm/utils/TableGen/CodeGenTarget.cpp	Fri Dec  1 16:57:41 2006
@@ -302,7 +302,7 @@
   unsigned FlatOpNo = I->getFlattenedOperandNumber(SrcOp);
   // Build the string for the operand.
   std::string OpConstraint =
-    "((" + utostr(FlatOpNo) + " << 16) | (1 << TargetInstrInfo::TIED_TO))";
+    "((" + utostr(FlatOpNo) + " << 16) | (1 << TOI::TIED_TO))";
 
   
   if (!I->OperandList[DestOp.first].Constraints[DestOp.second].empty())
@@ -422,8 +422,7 @@
     if (!OperandList[1].Constraints[0].empty())
       throw R->getName() + ": cannot use isTwoAddress property: instruction "
             "already has constraint set!";
-    OperandList[1].Constraints[0] =
-      "((0 << 16) | (1 << TargetInstrInfo::TIED_TO))";
+    OperandList[1].Constraints[0] = "((0 << 16) | (1 << TOI::TIED_TO))";
   }
   
   // Any operands with unset constraints get 0 as their constraint.






More information about the llvm-commits mailing list