Skip to content

Commit c950590

Browse files
committed
fixup! [SCEV] Do not attempt to collect loop guards for loops without predecessor.
1 parent ed95df9 commit c950590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/Analysis/ScalarEvolution/backedge-taken-count-guard-info-with-multiple-predecessors.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ define void @pr122913() {
347347
; CHECK-NEXT: Loop %header: symbolic max backedge-taken count is i1 false
348348
; CHECK-NEXT: Loop %header: Trip multiple is 1
349349
entry:
350-
br label %header
350+
br i1 1, label %bb, label %header
351351

352352
bb:
353353
br i1 1, label %exit, label %header

0 commit comments

Comments
 (0)