Skip to content

Commit

Permalink
do not compare actual branch labels; this may fix llvm-gcc-x86_64-dar…
Browse files Browse the repository at this point in the history
…win10-cross-mingw32 buildbot too

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115034 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ggreif committed Sep 29, 2010
1 parent 05642a3 commit 1f01d45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/CodeGen/ARM/arm-and-tst-peephole.ll
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ tailrecurse: ; preds = %sw.bb, %entry
%0 = ptrtoint i8* %tmp2 to i32

; CHECK: ands r12, r12, #3
; CHECK-NEXT: beq .LBB0_2
; CHECK-NEXT: beq

; THUMB: movs r5, #3
; THUMB-NEXT: mov r6, r4
; THUMB-NEXT: ands r6, r5
; THUMB-NEXT: tst r4, r5
; THUMB-NEXT: beq .LBB0_3
; THUMB-NEXT: beq

; T2: ands r12, r12, #3
; T2-NEXT: beq .LBB0_3
; T2-NEXT: beq

%and = and i32 %0, 3
%tst = icmp eq i32 %and, 0
Expand Down

0 comments on commit 1f01d45

Please sign in to comment.