tADDhirr should target GPR, not tGPR.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 8 Aug 2009 03:19:44 +0000 (03:19 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 8 Aug 2009 03:19:44 +0000 (03:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78454 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb.td

index c95b1d60fc56816a19d87f319432d4d6a6048575..c6c02ea6a9e941070993baf1180aca3cc4b1cf2d 100644 (file)
@@ -384,7 +384,7 @@ def tADDrr : T1sI<(outs tGPR:$dst), (ins tGPR:$lhs, tGPR:$rhs), IIC_iALU,
                    [(set tGPR:$dst, (add tGPR:$lhs, tGPR:$rhs))]>;
 
 let neverHasSideEffects = 1 in
-def tADDhirr : T1pIt<(outs tGPR:$dst), (ins GPR:$lhs, GPR:$rhs), IIC_iALU,
+def tADDhirr : T1pIt<(outs GPR:$dst), (ins GPR:$lhs, GPR:$rhs), IIC_iALU,
                      "add", " $dst, $rhs @ addhirr", []>;
 
 // And register