diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-09-14 22:00:50 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-09-14 22:00:50 +0000 |
commit | 22f6922505835b7dcc0c721ec7c2954b74ce04fb (patch) | |
tree | 55d0e090f0a845f852be86926314ac3a29e59fa3 /llvm/lib | |
parent | 44096b1a7e04ef2aa2e24db9360b843bff88a33c (diff) | |
download | bcm5719-llvm-22f6922505835b7dcc0c721ec7c2954b74ce04fb.tar.gz bcm5719-llvm-22f6922505835b7dcc0c721ec7c2954b74ce04fb.zip |
set isCompare for another three Thumb1 instructions
llvm-svn: 113867
Diffstat (limited to 'llvm/lib')
-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 c9fcb24d076..7f43fa70ef9 100644 --- a/llvm/lib/Target/ARM/ARMInstrThumb.td +++ b/llvm/lib/Target/ARM/ARMInstrThumb.td @@ -630,7 +630,7 @@ def tBIC : T1sIt<(outs tGPR:$dst), (ins tGPR:$lhs, tGPR:$rhs), IIC_iALUr, T1DataProcessing<0b1110>; // CMN register -let Defs = [CPSR] in { +let isCompare = 1, Defs = [CPSR] in { //FIXME: Disable CMN, as CCodes are backwards from compare expectations // Compare-to-zero still works out, just not the relationals //def tCMN : T1pI<(outs), (ins tGPR:$lhs, tGPR:$rhs), IIC_iCMPr, @@ -644,7 +644,7 @@ def tCMNz : T1pI<(outs), (ins tGPR:$lhs, tGPR:$rhs), IIC_iCMPr, } // CMP immediate -let Defs = [CPSR] in { +let isCompare = 1, Defs = [CPSR] in { def tCMPi8 : T1pI<(outs), (ins tGPR:$lhs, i32imm:$rhs), IIC_iCMPi, "cmp", "\t$lhs, $rhs", [(ARMcmp tGPR:$lhs, imm0_255:$rhs)]>, |