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

Reid Spencer reid at x10sys.com
Thu Dec 7 08:21:34 PST 2006



Changes in directory llvm/lib/CodeGen:

VirtRegMap.cpp updated: 1.85 -> 1.86
---
Log message:

Revision 1.83 causes PR1037: http://llvm.org/PR1037 .
Reverted.


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

 VirtRegMap.cpp |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/lib/CodeGen/VirtRegMap.cpp
diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.85 llvm/lib/CodeGen/VirtRegMap.cpp:1.86
--- llvm/lib/CodeGen/VirtRegMap.cpp:1.85	Wed Dec  6 19:30:31 2006
+++ llvm/lib/CodeGen/VirtRegMap.cpp	Thu Dec  7 10:21:19 2006
@@ -97,8 +97,7 @@
   }
 
   ModRef MRInfo;
-  if (OldMI->getInstrDescriptor()->
-      getOperandConstraint(OpNo, TOI::TIED_TO) != -1) {
+  if (TII.getOperandConstraint(OldMI->getOpcode(), OpNo, TOI::TIED_TO)) {
     // Folded a two-address operand.
     MRInfo = isModRef;
   } else if (OldMI->getOperand(OpNo).isDef()) {






More information about the llvm-commits mailing list