From: Evan Cheng Date: Sat, 8 Aug 2009 03:19:44 +0000 (+0000) Subject: tADDhirr should target GPR, not tGPR. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=57834cdee56cf3df2ea0a7010d3977adc007d5e5;p=oota-llvm.git tADDhirr should target GPR, not tGPR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78454 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index c95b1d60fc5..c6c02ea6a9e 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -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