@@ -17,12 +17,12 @@ target triple = "x86_64-apple-darwin"
1717; CHECK-LABEL: for.cond127.preheader:
1818; CHECK-NOT: for.cond127:
1919; CHECK-LABEL: for.body129:
20- define void @t () {
20+ define void @t (i1 %arg ) {
2121entry:
2222 br label %for.body102
2323
2424for.body102:
25- br i1 undef , label %for.cond127.preheader , label %for.inc203
25+ br i1 %arg , label %for.cond127.preheader , label %for.inc203
2626
2727for.cond127.preheader:
2828 br label %for.body129
@@ -34,10 +34,10 @@ for.cond127:
3434for.body129:
3535 %uv.013 = phi i32 [ 0 , %for.cond127.preheader ], [ %inc191 , %for.cond127 ]
3636 %idxprom130 = sext i32 %uv.013 to i64
37- br i1 undef , label %for.cond135.preheader.lr.ph , label %for.end185
37+ br i1 %arg , label %for.cond135.preheader.lr.ph , label %for.end185
3838
3939for.cond135.preheader.lr.ph:
40- br i1 undef , label %for.cond135.preheader.lr.ph.split.us , label %for.cond135.preheader.lr.ph.split_crit_edge
40+ br i1 %arg , label %for.cond135.preheader.lr.ph.split.us , label %for.cond135.preheader.lr.ph.split_crit_edge
4141
4242for.cond135.preheader.lr.ph.split_crit_edge:
4343 br label %for.cond135.preheader.lr.ph.split
@@ -51,17 +51,17 @@ for.cond135.preheader.us:
5151
5252for.end178.us:
5353 %add184.us = add nsw i32 %block_y.09.us , 4
54- br i1 undef , label %for.end185split.us-lcssa.us , label %for.cond132.us
54+ br i1 %arg , label %for.end185split.us-lcssa.us , label %for.cond132.us
5555
5656for.end174.us:
57- br i1 undef , label %for.cond138.preheader.us , label %for.cond135.for.end178_crit_edge.us
57+ br i1 %arg , label %for.cond138.preheader.us , label %for.cond135.for.end178_crit_edge.us
5858
5959for.inc172.us:
60- br i1 undef , label %for.cond142.preheader.us , label %for.end174.us
60+ br i1 %arg , label %for.cond142.preheader.us , label %for.end174.us
6161
6262for.body145.us:
6363 %arrayidx163.us = getelementptr inbounds %struct.Params , ptr undef , i64 0 , i32 0 , i64 %idxprom130 , i64 %idxprom146.us
64- br i1 undef , label %for.body145.us , label %for.inc172.us
64+ br i1 %arg , label %for.body145.us , label %for.inc172.us
6565
6666for.cond142.preheader.us:
6767 %j.04.us = phi i32 [ %block_y.09.us , %for.cond138.preheader.us ], [ undef , %for.inc172.us ]
@@ -72,7 +72,7 @@ for.cond138.preheader.us:
7272 br label %for.cond142.preheader.us
7373
7474for.cond132.us:
75- br i1 undef , label %for.cond135.preheader.us , label %for.cond132.for.end185_crit_edge.us-lcssa.us
75+ br i1 %arg , label %for.cond135.preheader.us , label %for.cond132.for.end185_crit_edge.us-lcssa.us
7676
7777for.cond138.preheader.lr.ph.us:
7878 br label %for.cond138.preheader.us
0 commit comments