From b36ef9f47db774f53baf6a527c8ea60d7e111287 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 6 Apr 2021 13:57:28 +0100 Subject: [PATCH] [MLIR, test] Fix use of undef FileCheck var MLIR test Dialect/Linalg/tile-indexed-generic.mlir has a CHECK-NOT directive referring to a variable only defined in a CHECK directive with a different prefix, and thus undefined in the CHECK-NOT. This commit removes the variable reference altogether to error on any content it might have. Reviewed By: pifon2a Differential Revision: https://reviews.llvm.org/D99956 --- mlir/test/Dialect/Linalg/tile-indexed-generic.mlir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/test/Dialect/Linalg/tile-indexed-generic.mlir b/mlir/test/Dialect/Linalg/tile-indexed-generic.mlir index 117c82f2550b..660236ae145c 100644 --- a/mlir/test/Dialect/Linalg/tile-indexed-generic.mlir +++ b/mlir/test/Dialect/Linalg/tile-indexed-generic.mlir @@ -42,7 +42,7 @@ func @indexed_generic_vector(%operand: memref<50xf32>, %result: memref<50xf32>) // TILE-25n0: %[[OUT:.*]] = addf %[[IN]], %[[NEW_I_FLOAT]] : f32 // TILE-0n25-LABEL: func @indexed_generic_vector -// TILE-0n25-NOT: scf.for %[[J:.*]] = {{.*}} step %[[C25]] +// TILE-0n25-NOT: scf.for %[[J:.*]] = {{.*}} step % // TILE-0n25: linalg.indexed_generic #combined_indices_trait = {