Fix tSUBspi operand definition. It reads and writes sp, which is a high register.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 17 Jul 2009 05:43:12 +0000 (05:43 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 17 Jul 2009 05:43:12 +0000 (05:43 +0000)
llvm-svn: 76155

llvm/lib/Target/ARM/ARMInstrThumb.td

index b1b97ad6ae6a42acbcdb5b00e0a38038e1335350..fb0387213cc57ddedeb9741a2439b0a28f230b03 100644 (file)
@@ -505,7 +505,7 @@ def tSUBrr : T1sI<(outs tGPR:$dst), (ins tGPR:$lhs, tGPR:$rhs),
 
 // TODO: A7-96: STMIA - store multiple.
 
-def tSUBspi : T1It<(outs tGPR:$dst), (ins tGPR:$lhs, i32imm:$rhs),
+def tSUBspi : T1It<(outs GPR:$dst), (ins GPR:$lhs, i32imm:$rhs),
                   "sub $dst, $rhs * 4", []>;
 
 // sign-extend byte