@@ -595,7 +595,7 @@ define i32 @test2(ptr nocapture %a, i64 %n) {
595
595
; PROLOG-NEXT: %sum.02.unr.ph = phi i32 [ %add.prol, %for.body.prol ]
596
596
; PROLOG-NEXT: br label %header.prol.loopexit
597
597
; PROLOG: header.prol.loopexit:
598
- ; PROLOG-NEXT: %sum.0.lcssa.unr = phi i32 [ undef , %entry ], [ %sum.0.lcssa.unr.ph, %header.prol.loopexit.unr-lcssa ]
598
+ ; PROLOG-NEXT: %sum.0.lcssa.unr = phi i32 [ poison , %entry ], [ %sum.0.lcssa.unr.ph, %header.prol.loopexit.unr-lcssa ]
599
599
; PROLOG-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ %indvars.iv.unr.ph, %header.prol.loopexit.unr-lcssa ]
600
600
; PROLOG-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %sum.02.unr.ph, %header.prol.loopexit.unr-lcssa ]
601
601
; PROLOG-NEXT: %3 = icmp ult i64 %1, 7
@@ -713,7 +713,7 @@ define i32 @test2(ptr nocapture %a, i64 %n) {
713
713
; PROLOG-BLOCK-NEXT: %2 = load i32, ptr %a, align 4
714
714
; PROLOG-BLOCK-NEXT: br label %header.prol.loopexit
715
715
; PROLOG-BLOCK: header.prol.loopexit:
716
- ; PROLOG-BLOCK-NEXT: %sum.0.lcssa.unr = phi i32 [ undef , %entry ], [ %2, %for.body.prol ]
716
+ ; PROLOG-BLOCK-NEXT: %sum.0.lcssa.unr = phi i32 [ poison , %entry ], [ %2, %for.body.prol ]
717
717
; PROLOG-BLOCK-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ 1, %for.body.prol ]
718
718
; PROLOG-BLOCK-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %2, %for.body.prol ]
719
719
; PROLOG-BLOCK-NEXT: %3 = icmp ult i64 %1, 1
@@ -1440,7 +1440,7 @@ define i32 @hdr_latch_same_exit(ptr nocapture %a, i64 %n, i1 %cond) {
1440
1440
; PROLOG-NEXT: %sum.02.unr.ph = phi i32 [ %add.prol, %latch.prol ]
1441
1441
; PROLOG-NEXT: br label %header.prol.loopexit
1442
1442
; PROLOG: header.prol.loopexit:
1443
- ; PROLOG-NEXT: %result.unr = phi i32 [ undef , %entry ], [ %result.unr.ph, %header.prol.loopexit.unr-lcssa ]
1443
+ ; PROLOG-NEXT: %result.unr = phi i32 [ poison , %entry ], [ %result.unr.ph, %header.prol.loopexit.unr-lcssa ]
1444
1444
; PROLOG-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ %indvars.iv.unr.ph, %header.prol.loopexit.unr-lcssa ]
1445
1445
; PROLOG-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %sum.02.unr.ph, %header.prol.loopexit.unr-lcssa ]
1446
1446
; PROLOG-NEXT: %3 = icmp ult i64 %1, 7
@@ -1561,7 +1561,7 @@ define i32 @hdr_latch_same_exit(ptr nocapture %a, i64 %n, i1 %cond) {
1561
1561
; PROLOG-BLOCK-NEXT: %2 = load i32, ptr %a, align 4
1562
1562
; PROLOG-BLOCK-NEXT: br label %header.prol.loopexit
1563
1563
; PROLOG-BLOCK: header.prol.loopexit:
1564
- ; PROLOG-BLOCK-NEXT: %result.unr = phi i32 [ undef , %entry ], [ %2, %latch.prol ]
1564
+ ; PROLOG-BLOCK-NEXT: %result.unr = phi i32 [ poison , %entry ], [ %2, %latch.prol ]
1565
1565
; PROLOG-BLOCK-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ 1, %latch.prol ]
1566
1566
; PROLOG-BLOCK-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %2, %latch.prol ]
1567
1567
; PROLOG-BLOCK-NEXT: %3 = icmp ult i64 %1, 1
@@ -1880,7 +1880,7 @@ define i32 @otherblock_latch_same_exit(ptr nocapture %a, i64 %n, i1 %cond) {
1880
1880
; PROLOG-NEXT: %sum.02.unr.ph = phi i32 [ %add.prol, %latch.prol ]
1881
1881
; PROLOG-NEXT: br label %header.prol.loopexit
1882
1882
; PROLOG: header.prol.loopexit:
1883
- ; PROLOG-NEXT: %result.unr = phi i32 [ undef , %entry ], [ %result.unr.ph, %header.prol.loopexit.unr-lcssa ]
1883
+ ; PROLOG-NEXT: %result.unr = phi i32 [ poison , %entry ], [ %result.unr.ph, %header.prol.loopexit.unr-lcssa ]
1884
1884
; PROLOG-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ %indvars.iv.unr.ph, %header.prol.loopexit.unr-lcssa ]
1885
1885
; PROLOG-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %sum.02.unr.ph, %header.prol.loopexit.unr-lcssa ]
1886
1886
; PROLOG-NEXT: %3 = icmp ult i64 %1, 7
@@ -2001,7 +2001,7 @@ define i32 @otherblock_latch_same_exit(ptr nocapture %a, i64 %n, i1 %cond) {
2001
2001
; PROLOG-BLOCK-NEXT: %2 = load i32, ptr %a, align 4
2002
2002
; PROLOG-BLOCK-NEXT: br label %header.prol.loopexit
2003
2003
; PROLOG-BLOCK: header.prol.loopexit:
2004
- ; PROLOG-BLOCK-NEXT: %result.unr = phi i32 [ undef , %entry ], [ %2, %latch.prol ]
2004
+ ; PROLOG-BLOCK-NEXT: %result.unr = phi i32 [ poison , %entry ], [ %2, %latch.prol ]
2005
2005
; PROLOG-BLOCK-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ 1, %latch.prol ]
2006
2006
; PROLOG-BLOCK-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %2, %latch.prol ]
2007
2007
; PROLOG-BLOCK-NEXT: %3 = icmp ult i64 %1, 1
@@ -2321,7 +2321,7 @@ define i32 @otherblock_latch_same_exit2(ptr nocapture %a, i64 %n, i1 %cond) {
2321
2321
; PROLOG-NEXT: %sum.02.unr.ph = phi i32 [ %add.prol, %latch.prol ]
2322
2322
; PROLOG-NEXT: br label %header.prol.loopexit
2323
2323
; PROLOG: header.prol.loopexit:
2324
- ; PROLOG-NEXT: %result.unr = phi i32 [ undef , %entry ], [ %result.unr.ph, %header.prol.loopexit.unr-lcssa ]
2324
+ ; PROLOG-NEXT: %result.unr = phi i32 [ poison , %entry ], [ %result.unr.ph, %header.prol.loopexit.unr-lcssa ]
2325
2325
; PROLOG-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ %indvars.iv.unr.ph, %header.prol.loopexit.unr-lcssa ]
2326
2326
; PROLOG-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %sum.02.unr.ph, %header.prol.loopexit.unr-lcssa ]
2327
2327
; PROLOG-NEXT: %3 = icmp ult i64 %1, 7
@@ -2442,7 +2442,7 @@ define i32 @otherblock_latch_same_exit2(ptr nocapture %a, i64 %n, i1 %cond) {
2442
2442
; PROLOG-BLOCK-NEXT: %2 = load i32, ptr %a, align 4
2443
2443
; PROLOG-BLOCK-NEXT: br label %header.prol.loopexit
2444
2444
; PROLOG-BLOCK: header.prol.loopexit:
2445
- ; PROLOG-BLOCK-NEXT: %result.unr = phi i32 [ undef , %entry ], [ %2, %latch.prol ]
2445
+ ; PROLOG-BLOCK-NEXT: %result.unr = phi i32 [ poison , %entry ], [ %2, %latch.prol ]
2446
2446
; PROLOG-BLOCK-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ 1, %latch.prol ]
2447
2447
; PROLOG-BLOCK-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %2, %latch.prol ]
2448
2448
; PROLOG-BLOCK-NEXT: %3 = icmp ult i64 %1, 1
@@ -2763,7 +2763,7 @@ define i32 @otherblock_latch_same_exit3(ptr nocapture %a, i64 %n, i1 %cond) {
2763
2763
; PROLOG-NEXT: %sum.02.unr.ph = phi i32 [ %add.prol, %latch.prol ]
2764
2764
; PROLOG-NEXT: br label %header.prol.loopexit
2765
2765
; PROLOG: header.prol.loopexit:
2766
- ; PROLOG-NEXT: %result.unr = phi i32 [ undef , %entry ], [ %result.unr.ph, %header.prol.loopexit.unr-lcssa ]
2766
+ ; PROLOG-NEXT: %result.unr = phi i32 [ poison , %entry ], [ %result.unr.ph, %header.prol.loopexit.unr-lcssa ]
2767
2767
; PROLOG-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ %indvars.iv.unr.ph, %header.prol.loopexit.unr-lcssa ]
2768
2768
; PROLOG-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %sum.02.unr.ph, %header.prol.loopexit.unr-lcssa ]
2769
2769
; PROLOG-NEXT: %3 = icmp ult i64 %1, 7
@@ -2884,7 +2884,7 @@ define i32 @otherblock_latch_same_exit3(ptr nocapture %a, i64 %n, i1 %cond) {
2884
2884
; PROLOG-BLOCK: latch.prol:
2885
2885
; PROLOG-BLOCK-NEXT: br label %header.prol.loopexit
2886
2886
; PROLOG-BLOCK: header.prol.loopexit:
2887
- ; PROLOG-BLOCK-NEXT: %result.unr = phi i32 [ undef , %entry ], [ %2, %latch.prol ]
2887
+ ; PROLOG-BLOCK-NEXT: %result.unr = phi i32 [ poison , %entry ], [ %2, %latch.prol ]
2888
2888
; PROLOG-BLOCK-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ 1, %latch.prol ]
2889
2889
; PROLOG-BLOCK-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %2, %latch.prol ]
2890
2890
; PROLOG-BLOCK-NEXT: %3 = icmp ult i64 %1, 1
@@ -3171,7 +3171,7 @@ define void @unique_exit(i32 %N, i32 %M) {
3171
3171
; PROLOG-NEXT: br label %header.prol.loopexit
3172
3172
; PROLOG: header.prol.loopexit:
3173
3173
; PROLOG-NEXT: %i4.unr = phi i32 [ 0, %preheader ], [ %i4.unr.ph, %header.prol.loopexit.unr-lcssa ]
3174
- ; PROLOG-NEXT: %i2.ph.unr = phi i32 [ undef , %preheader ], [ %i2.ph.unr.ph, %header.prol.loopexit.unr-lcssa ]
3174
+ ; PROLOG-NEXT: %i2.ph.unr = phi i32 [ poison , %preheader ], [ %i2.ph.unr.ph, %header.prol.loopexit.unr-lcssa ]
3175
3175
; PROLOG-NEXT: %2 = icmp ult i32 %1, 7
3176
3176
; PROLOG-NEXT: br i1 %2, label %latchExit, label %preheader.new
3177
3177
; PROLOG: preheader.new:
@@ -3243,7 +3243,7 @@ define void @unique_exit(i32 %N, i32 %M) {
3243
3243
; PROLOG-BLOCK-NEXT: br label %header.prol.loopexit
3244
3244
; PROLOG-BLOCK: header.prol.loopexit:
3245
3245
; PROLOG-BLOCK-NEXT: %i4.unr = phi i32 [ 0, %preheader ], [ 1, %latch.prol ]
3246
- ; PROLOG-BLOCK-NEXT: %i2.ph.unr = phi i32 [ undef , %preheader ], [ -1, %latch.prol ]
3246
+ ; PROLOG-BLOCK-NEXT: %i2.ph.unr = phi i32 [ poison , %preheader ], [ -1, %latch.prol ]
3247
3247
; PROLOG-BLOCK-NEXT: %2 = icmp ult i32 %1, 1
3248
3248
; PROLOG-BLOCK-NEXT: br i1 %2, label %latchExit, label %preheader.new
3249
3249
; PROLOG-BLOCK: preheader.new:
@@ -3544,7 +3544,7 @@ define i64 @test5(i64 %trip, i64 %add, i1 %cond) {
3544
3544
; PROLOG: loop_header.prol.loopexit:
3545
3545
; PROLOG-NEXT: %iv.unr = phi i64 [ 0, %entry ], [ %iv.unr.ph, %loop_header.prol.loopexit.unr-lcssa ]
3546
3546
; PROLOG-NEXT: %sum.unr = phi i64 [ 0, %entry ], [ %sum.unr.ph, %loop_header.prol.loopexit.unr-lcssa ]
3547
- ; PROLOG-NEXT: %sum.next.lcssa.unr = phi i64 [ undef , %entry ], [ %sum.next.lcssa.unr.ph, %loop_header.prol.loopexit.unr-lcssa ]
3547
+ ; PROLOG-NEXT: %sum.next.lcssa.unr = phi i64 [ poison , %entry ], [ %sum.next.lcssa.unr.ph, %loop_header.prol.loopexit.unr-lcssa ]
3548
3548
; PROLOG-NEXT: %2 = icmp ult i64 %1, 7
3549
3549
; PROLOG-NEXT: br i1 %2, label %latchexit, label %entry.new
3550
3550
; PROLOG: entry.new:
@@ -3671,7 +3671,7 @@ define i64 @test5(i64 %trip, i64 %add, i1 %cond) {
3671
3671
; PROLOG-BLOCK: loop_header.prol.loopexit:
3672
3672
; PROLOG-BLOCK-NEXT: %iv.unr = phi i64 [ 0, %entry ], [ 1, %loop_latch.prol ]
3673
3673
; PROLOG-BLOCK-NEXT: %sum.unr = phi i64 [ 0, %entry ], [ %add, %loop_latch.prol ]
3674
- ; PROLOG-BLOCK-NEXT: %sum.next.lcssa.unr = phi i64 [ undef , %entry ], [ %add, %loop_latch.prol ]
3674
+ ; PROLOG-BLOCK-NEXT: %sum.next.lcssa.unr = phi i64 [ poison , %entry ], [ %add, %loop_latch.prol ]
3675
3675
; PROLOG-BLOCK-NEXT: %2 = icmp ult i64 %1, 1
3676
3676
; PROLOG-BLOCK-NEXT: br i1 %2, label %latchexit, label %entry.new
3677
3677
; PROLOG-BLOCK: entry.new:
@@ -3991,7 +3991,7 @@ define i32 @test6(ptr nocapture %a, i64 %n, i1 %cond, i32 %x) {
3991
3991
; PROLOG-NEXT: %sum.02.unr.ph = phi i32 [ %add.prol, %latch.prol ]
3992
3992
; PROLOG-NEXT: br label %header.prol.loopexit
3993
3993
; PROLOG: header.prol.loopexit:
3994
- ; PROLOG-NEXT: %sum.0.lcssa.unr = phi i32 [ undef , %entry ], [ %sum.0.lcssa.unr.ph, %header.prol.loopexit.unr-lcssa ]
3994
+ ; PROLOG-NEXT: %sum.0.lcssa.unr = phi i32 [ poison , %entry ], [ %sum.0.lcssa.unr.ph, %header.prol.loopexit.unr-lcssa ]
3995
3995
; PROLOG-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ %indvars.iv.unr.ph, %header.prol.loopexit.unr-lcssa ]
3996
3996
; PROLOG-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %sum.02.unr.ph, %header.prol.loopexit.unr-lcssa ]
3997
3997
; PROLOG-NEXT: %2 = icmp ult i64 %1, 7
@@ -4114,7 +4114,7 @@ define i32 @test6(ptr nocapture %a, i64 %n, i1 %cond, i32 %x) {
4114
4114
; PROLOG-BLOCK-NEXT: %load.prol = load i32, ptr %a, align 4
4115
4115
; PROLOG-BLOCK-NEXT: br label %header.prol.loopexit
4116
4116
; PROLOG-BLOCK: header.prol.loopexit:
4117
- ; PROLOG-BLOCK-NEXT: %sum.0.lcssa.unr = phi i32 [ undef , %entry ], [ %load.prol, %latch.prol ]
4117
+ ; PROLOG-BLOCK-NEXT: %sum.0.lcssa.unr = phi i32 [ poison , %entry ], [ %load.prol, %latch.prol ]
4118
4118
; PROLOG-BLOCK-NEXT: %indvars.iv.unr = phi i64 [ 0, %entry ], [ 1, %latch.prol ]
4119
4119
; PROLOG-BLOCK-NEXT: %sum.02.unr = phi i32 [ 0, %entry ], [ %load.prol, %latch.prol ]
4120
4120
; PROLOG-BLOCK-NEXT: %2 = icmp ult i64 %1, 1
0 commit comments