[LV] Update test to use use variables in CHECK lines.
authorFlorian Hahn <flo@fhahn.com>
Sun, 4 Dec 2022 11:59:00 +0000 (11:59 +0000)
committerFlorian Hahn <flo@fhahn.com>
Sun, 4 Dec 2022 11:59:00 +0000 (11:59 +0000)
This makes the test more robust with respect to value numbering which
will change with future changes.

llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll

index 4b918db..c74032f 100644 (file)
@@ -574,7 +574,7 @@ define void @pred_cfg3(i32 %k, i32 %j) {
 ; CHECK-NEXT: next.0:
 ; CHECK-NEXT:   EMIT vp<[[NOT:%.+]]> = not ir<%c.0>
 ; CHECK-NEXT:   EMIT vp<[[MASK3:%.+]]> = select vp<[[MASK1]]> vp<[[NOT]]> ir<false>
-; CHECK-NEXT:   BLEND %p = ir<0>/vp<%14> vp<%12>/vp<%9>
+; CHECK-NEXT:   BLEND %p = ir<0>/vp<[[MASK3]]> vp<[[PRED]]>/vp<[[MASK2]]>
 ; CHECK-NEXT: Successor(s): then.1
 ; CHECK-EMPTY:
 ; CHECK-NEXT: then.1: