1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

The optimize comparisons pass removes the "cmp" instruction this is checking for.

llvm-svn: 110739
This commit is contained in:
Bill Wendling 2010-08-10 22:16:05 +00:00
parent 36e284c2be
commit 37ac7cfa7d

View File

@ -629,7 +629,6 @@ bb24: ; preds = %bb23
; CHECK: @ %bb24 ; CHECK: @ %bb24
; CHECK-NEXT: @ in Loop: Header=BB1_1 Depth=1 ; CHECK-NEXT: @ in Loop: Header=BB1_1 Depth=1
; CHECK-NEXT: sub{{.*}} [[REGISTER:r[0-9]+]], #1 ; CHECK-NEXT: sub{{.*}} [[REGISTER:r[0-9]+]], #1
; CHECK-NEXT: cmp{{.*}} [[REGISTER]], #0
; CHECK-NEXT: bne.w ; CHECK-NEXT: bne.w
%92 = icmp eq i32 %tmp81, %indvar78 ; <i1> [#uses=1] %92 = icmp eq i32 %tmp81, %indvar78 ; <i1> [#uses=1]