[llvm-commits] [llvm] r110765 - /llvm/trunk/test/CodeGen/ARM/long_shift.ll
Bill Wendling
isanbard at gmail.com
Tue Aug 10 18:05:02 PDT 2010
Author: void
Date: Tue Aug 10 20:05:02 2010
New Revision: 110765
URL: http://llvm.org/viewvc/llvm-project?rev=110765&view=rev
Log:
Update test to match output of optimize compares for ARM.
Modified:
llvm/trunk/test/CodeGen/ARM/long_shift.ll
Modified: llvm/trunk/test/CodeGen/ARM/long_shift.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/long_shift.ll?rev=110765&r1=110764&r2=110765&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/long_shift.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/long_shift.ll Tue Aug 10 20:05:02 2010
@@ -24,8 +24,7 @@
; CHECK: f2
; CHECK: mov r0, r0, lsr r2
; CHECK-NEXT: rsb r3, r2, #32
-; CHECK-NEXT: sub r2, r2, #32
-; CHECK-NEXT: cmp r2, #0
+; CHECK-NEXT: subs r2, r2, #32
; CHECK-NEXT: orr r0, r0, r1, lsl r3
; CHECK-NEXT: movge r0, r1, asr r2
%a = ashr i64 %x, %y
@@ -37,8 +36,7 @@
; CHECK: f3
; CHECK: mov r0, r0, lsr r2
; CHECK-NEXT: rsb r3, r2, #32
-; CHECK-NEXT: sub r2, r2, #32
-; CHECK-NEXT: cmp r2, #0
+; CHECK-NEXT: subs r2, r2, #32
; CHECK-NEXT: orr r0, r0, r1, lsl r3
; CHECK-NEXT: movge r0, r1, lsr r2
%a = lshr i64 %x, %y
More information about the llvm-commits
mailing list