diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-07-17 05:43:12 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-17 05:43:12 +0000 |
| commit | aaf48343fb5ebc81f1ceb575e443fe191557ba92 (patch) | |
| tree | aacfb8b4f8f99a37700455d34f049b622095d232 /llvm/lib | |
| parent | f840bc561af70d76120f0b267d074bdc6136a3c9 (diff) | |
| download | bcm5719-llvm-aaf48343fb5ebc81f1ceb575e443fe191557ba92.tar.gz bcm5719-llvm-aaf48343fb5ebc81f1ceb575e443fe191557ba92.zip | |
Fix tSUBspi operand definition. It reads and writes sp, which is a high register.
llvm-svn: 76155
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrThumb.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td index b1b97ad6ae6..fb0387213cc 100644 --- a/llvm/lib/Target/ARM/ARMInstrThumb.td +++ b/llvm/lib/Target/ARM/ARMInstrThumb.td @@ -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 |

