Skip to content

Commit 0a933b2

Browse files
author
GYT
committed
Address IR review pt5: simplify entry block of disable_nonforced
1 parent 5d656e8 commit 0a933b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/test/Transforms/LoopVectorize/diag-disable_nonforced-msgs.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
; CHECK: LV: Loop hints prevent vectorization
2222
define void @disable_nonforced(ptr nocapture %a, i32 %n) {
2323
entry:
24-
%cmp4 = icmp sgt i32 %n, 0
25-
br i1 %cmp4, label %for.body, label %for.end
24+
br label %for.body
2625

2726
for.body:
2827
%indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ 0, %entry ]

0 commit comments

Comments
 (0)