[Mlir-commits] [mlir] 55d4d2e - [mlir][spirv] Fix test (NFC) (#163413)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Oct 14 09:09:31 PDT 2025
Author: Erick Ochoa Lopez
Date: 2025-10-14T12:09:27-04:00
New Revision: 55d4d2ee0d92599cd1f19aa700b3ad2de5d09c85
URL: https://github.com/llvm/llvm-project/commit/55d4d2ee0d92599cd1f19aa700b3ad2de5d09c85
DIFF: https://github.com/llvm/llvm-project/commit/55d4d2ee0d92599cd1f19aa700b3ad2de5d09c85.diff
LOG: [mlir][spirv] Fix test (NFC) (#163413)
This test had a CHECK-RAW command. The intention behind this command
appears to be to avoid using the regular expression matching
capabilities. However, this was interpretted as a comment by FileCheck.
In order to check for literal strings the {LITERAL} modifier should be
used.
https://llvm.org/docs/CommandGuide/FileCheck.html#directive-modifiers
Added:
Modified:
mlir/test/Integration/GPU/SPIRV/simple_add.mlir
Removed:
################################################################################
diff --git a/mlir/test/Integration/GPU/SPIRV/simple_add.mlir b/mlir/test/Integration/GPU/SPIRV/simple_add.mlir
index cb16c376eaa6f..b3154d4b91516 100644
--- a/mlir/test/Integration/GPU/SPIRV/simple_add.mlir
+++ b/mlir/test/Integration/GPU/SPIRV/simple_add.mlir
@@ -3,7 +3,16 @@
// RUN: | FileCheck %s
// CHECK: data =
-// CHECK-RAW: [[[7.7, 0, 0], [7.7, 0, 0], [7.7, 0, 0]], [[0, 7.7, 0], [0, 7.7, 0], [0, 7.7, 0]], [[0, 0, 7.7], [0, 0, 7.7], [0, 0, 7.7]]]
+// CHECK{LITERAL}: [[[7.7, 0, 0],
+// CHECK{LITERAL}: [7.7, 0, 0],
+// CHECK{LITERAL}: [7.7, 0, 0]],
+// CHECK{LITERAL}: [[0, 7.7, 0],
+// CHECK{LITERAL}: [0, 7.7, 0],
+// CHECK{LITERAL}: [0, 7.7, 0]],
+// CHECK{LITERAL}: [[0, 0, 7.7],
+// CHECK{LITERAL}: [0, 0, 7.7],
+// CHECK{LITERAL}: [0, 0, 7.7]]]
+
module attributes {
gpu.container_module,
spirv.target_env = #spirv.target_env<
More information about the Mlir-commits
mailing list