diff options
author | Owen Anderson <resistor@mac.com> | 2011-08-03 23:21:48 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-08-03 23:21:48 +0000 |
commit | 7bc3b11a569f5cdff463c48b38e79c665b43f3be (patch) | |
tree | 33b4d9b6d44b5d3bce15140ffdaea494f56c2971 | |
parent | 11b788d5be0da3d405a2bf3488d57de5935e1607 (diff) | |
download | bcm5719-llvm-7bc3b11a569f5cdff463c48b38e79c665b43f3be.tar.gz bcm5719-llvm-7bc3b11a569f5cdff463c48b38e79c665b43f3be.zip |
Fix broken encoding of tCBNZ.
llvm-svn: 136837
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrThumb.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td index 64e5e443dff..bd6d1a0c7d9 100644 --- a/llvm/lib/Target/ARM/ARMInstrThumb.td +++ b/llvm/lib/Target/ARM/ARMInstrThumb.td @@ -500,8 +500,8 @@ let isBranch = 1, isTerminator = 1 in { let Inst{2-0} = Rn; } - def tCBNZ : T1I<(outs), (ins tGPR:$cmp, t_cbtarget:$target), IIC_Br, - "cbnz\t$cmp, $target", []>, + def tCBNZ : T1I<(outs), (ins tGPR:$Rn, t_cbtarget:$target), IIC_Br, + "cbnz\t$Rn, $target", []>, T1Misc<{1,0,?,1,?,?,?}> { // A8.6.27 bits<6> target; |