diff options
Diffstat (limited to 'test/CodeGen/MSP430/setcc.ll')
-rw-r--r-- | test/CodeGen/MSP430/setcc.ll | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/test/CodeGen/MSP430/setcc.ll b/test/CodeGen/MSP430/setcc.ll index c99b17e..05f9acd 100644 --- a/test/CodeGen/MSP430/setcc.ll +++ b/test/CodeGen/MSP430/setcc.ll @@ -32,10 +32,10 @@ define i16 @sccwne(i16 %a, i16 %b) nounwind { } ; CHECK:sccwne: ; CHECK: cmp.w r14, r15 -; CHECK: mov.w r2, r15 -; CHECK: rra.w r15 -; CHECK: and.w #1, r15 -; CHECK: xor.w #1, r15 +; CHECK: mov.w r2, r12 +; CHECK: rra.w r12 +; CHECK: mov.w #1, r15 +; CHECK: bic.w r12, r15 define i16 @sccweq(i16 %a, i16 %b) nounwind { %t1 = icmp eq i16 %a, %b @@ -55,9 +55,8 @@ define i16 @sccwugt(i16 %a, i16 %b) nounwind { } ; CHECK:sccwugt: ; CHECK: cmp.w r15, r14 -; CHECK: mov.w r2, r15 -; CHECK: and.w #1, r15 -; CHECK: xor.w #1, r15 +; CHECK: mov.w #1, r15 +; CHECK: bic.w r2, r15 define i16 @sccwuge(i16 %a, i16 %b) nounwind { %t1 = icmp uge i16 %a, %b @@ -76,9 +75,8 @@ define i16 @sccwult(i16 %a, i16 %b) nounwind { } ; CHECK:sccwult: ; CHECK: cmp.w r14, r15 -; CHECK: mov.w r2, r15 -; CHECK: and.w #1, r15 -; CHECK: xor.w #1, r15 +; CHECK: mov.w #1, r15 +; CHECK: bic.w r2, r15 define i16 @sccwule(i16 %a, i16 %b) nounwind { %t1 = icmp ule i16 %a, %b |