[Mlir-commits] [mlir] b36ef9f - [MLIR, test] Fix use of undef FileCheck var

Thomas Preud'homme llvmlistbot at llvm.org
Tue Apr 6 08:27:24 PDT 2021


Author: Thomas Preud'homme
Date: 2021-04-06T16:27:25+01:00
New Revision: b36ef9f47db774f53baf6a527c8ea60d7e111287

URL: https://github.com/llvm/llvm-project/commit/b36ef9f47db774f53baf6a527c8ea60d7e111287
DIFF: https://github.com/llvm/llvm-project/commit/b36ef9f47db774f53baf6a527c8ea60d7e111287.diff

LOG: [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

Added: 
    

Modified: 
    mlir/test/Dialect/Linalg/tile-indexed-generic.mlir

Removed: 
    


################################################################################
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 = {


        


More information about the Mlir-commits mailing list