TiedTo is an integer, not a bool.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 6 Sep 2012 19:51:21 +0000 (19:51 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 6 Sep 2012 19:51:21 +0000 (19:51 +0000)
Thanks, Andy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163343 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index 139122d47b1a414998c601894962d1f3c89666b7..4e1533a8e7ec8f7f45bbe4d8965a95c788f4ee2f 100644 (file)
@@ -968,8 +968,8 @@ private:
   void untieRegOperand(unsigned OpIdx) {
     MachineOperand &MO = getOperand(OpIdx);
     if (MO.isReg() && MO.isTied()) {
-      getOperand(findTiedOperandIdx(OpIdx)).TiedTo = false;
-      MO.TiedTo = false;
+      getOperand(findTiedOperandIdx(OpIdx)).TiedTo = 0;
+      MO.TiedTo = 0;
     }
   }