@@ -27,7 +27,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
2727; CHECK-NEXT: <x1> vector loop: {
2828; CHECK-NEXT: vector.body:
2929; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
30- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 0, %iv.next , ir<1>, vp<[[VF]]>
30+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<0> , ir<1>, vp<[[VF]]>
3131; CHECK-NEXT: EMIT vp<[[MASK:%.+]]> = icmp ule ir<%iv>, vp<[[BTC]]>
3232; CHECK-NEXT: Successor(s): pred.store
3333
9696; CHECK-NEXT: <x1> vector loop: {
9797; CHECK-NEXT: vector.body:
9898; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
99- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 0, %iv.next, ir<1>, vp<[[VF]]
99+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<0>, ir<1>, vp<[[VF]]>
100100; CHECK-NEXT: EMIT vp<[[MASK:%.+]]> = icmp ule ir<%iv>, vp<[[BTC]]>
101101; CHECK-NEXT: Successor(s): pred.load
102102
@@ -181,7 +181,7 @@ exit:
181181; CHECK-NEXT: <x1> vector loop: {
182182; CHECK-NEXT: vector.body:
183183; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
184- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 0, %iv.next, ir<1>, vp<[[VF]]
184+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<0>, ir<1>, vp<[[VF]]>
185185; CHECK-NEXT: EMIT vp<[[MASK:%.+]]> = icmp ule ir<%iv>, vp<[[BTC]]>
186186; CHECK-NEXT: Successor(s): pred.load
187187
@@ -268,7 +268,7 @@ define void @uniform_gep(i64 %k, ptr noalias %A, ptr noalias %B) {
268268; CHECK-NEXT: <x1> vector loop: {
269269; CHECK-NEXT: vector.body:
270270; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
271- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 21, %iv.next , ir<1>, vp<[[VF]]>
271+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<21> , ir<1>, vp<[[VF]]>
272272; CHECK-NEXT: vp<[[DERIVED_IV:%.+]]> = DERIVED-IV ir<21> + vp<[[CAN_IV]]> * ir<1>
273273; CHECK-NEXT: EMIT vp<[[WIDE_CAN_IV:%.+]]> = WIDEN-CANONICAL-INDUCTION vp<[[CAN_IV]]>
274274; CHECK-NEXT: EMIT vp<[[MASK:%.+]]> = icmp ule vp<[[WIDE_CAN_IV]]>, vp<[[BTC]]>
@@ -343,7 +343,7 @@ define void @pred_cfg1(i32 %k, i32 %j) {
343343; CHECK-NEXT: <x1> vector loop: {
344344; CHECK-NEXT: vector.body:
345345; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
346- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 0, %iv.next , ir<1>, vp<[[VF]]>
346+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<0> , ir<1>, vp<[[VF]]>
347347; CHECK-NEXT: EMIT vp<[[MASK1:%.+]]> = icmp ule ir<%iv>, vp<[[BTC]]>
348348; CHECK-NEXT: WIDEN ir<%c.1> = icmp ult ir<%iv>, ir<%j>
349349; CHECK-NEXT: WIDEN ir<%mul> = mul ir<%iv>, ir<10>
@@ -441,7 +441,7 @@ define void @pred_cfg2(i32 %k, i32 %j) {
441441; CHECK-NEXT: <x1> vector loop: {
442442; CHECK-NEXT: vector.body:
443443; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
444- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 0, %iv.next , ir<1>, vp<[[VF]]>
444+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<0> , ir<1>, vp<[[VF]]>
445445; CHECK-NEXT: EMIT vp<[[MASK1:%.+]]> = icmp ule ir<%iv>, vp<[[BTC]]>
446446; CHECK-NEXT: WIDEN ir<%mul> = mul ir<%iv>, ir<10>
447447; CHECK-NEXT: WIDEN ir<%c.0> = icmp ult ir<%iv>, ir<%j>
@@ -548,7 +548,7 @@ define void @pred_cfg3(i32 %k, i32 %j) {
548548; CHECK-NEXT: <x1> vector loop: {
549549; CHECK-NEXT: vector.body:
550550; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
551- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 0, %iv.next , ir<1>, vp<[[VF]]>
551+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<0> , ir<1>, vp<[[VF]]>
552552; CHECK-NEXT: EMIT vp<[[MASK1:%.+]]> = icmp ule ir<%iv>, vp<[[BTC]]>
553553; CHECK-NEXT: WIDEN ir<%mul> = mul ir<%iv>, ir<10>
554554; CHECK-NEXT: WIDEN ir<%c.0> = icmp ult ir<%iv>, ir<%j>
@@ -655,7 +655,7 @@ define void @merge_3_replicate_region(i32 %k, i32 %j) {
655655; CHECK-NEXT: <x1> vector loop: {
656656; CHECK-NEXT: vector.body:
657657; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
658- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 0, %iv.next , ir<1>, vp<[[VF]]>
658+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<0> , ir<1>, vp<[[VF]]>
659659; CHECK-NEXT: vp<[[STEPS:%.+]]> = SCALAR-STEPS vp<[[CAN_IV]]>, ir<1>
660660; CHECK-NEXT: EMIT vp<[[MASK:%.+]]> = icmp ule ir<%iv>, vp<[[BTC]]>
661661; CHECK-NEXT: Successor(s): pred.store
@@ -761,7 +761,7 @@ define void @update_2_uses_in_same_recipe_in_merged_block(i32 %k) {
761761; CHECK-NEXT: <x1> vector loop: {
762762; CHECK-NEXT: vector.body:
763763; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
764- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 0, %iv.next , ir<1>, vp<[[VF]]>
764+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<0> , ir<1>, vp<[[VF]]>
765765; CHECK-NEXT: EMIT vp<[[MASK:%.+]]> = icmp ule ir<%iv>, vp<[[BTC]]>
766766; CHECK-NEXT: Successor(s): pred.store
767767; CHECK-EMPTY:
@@ -827,7 +827,7 @@ define void @recipe_in_merge_candidate_used_by_first_order_recurrence(i32 %k) {
827827; CHECK-NEXT: <x1> vector loop: {
828828; CHECK-NEXT: vector.body:
829829; CHECK-NEXT: EMIT vp<[[CAN_IV:%.+]]> = CANONICAL-INDUCTION
830- ; CHECK-NEXT: WIDEN-INDUCTION %iv = phi 0, %iv.next , ir<1>, vp<[[VF]]>
830+ ; CHECK-NEXT: ir< %iv> = WIDEN-INDUCTION ir<0> , ir<1>, vp<[[VF]]>
831831; CHECK-NEXT: FIRST-ORDER-RECURRENCE-PHI ir<%for> = phi ir<0>, vp<[[PRED:%.+]]>
832832; CHECK-NEXT: vp<[[STEPS:%.+]]> = SCALAR-STEPS vp<[[CAN_IV]]>, ir<1>
833833; CHECK-NEXT: EMIT vp<[[MASK:%.+]]> = icmp ule ir<%iv>, vp<[[BTC]]>
0 commit comments