Skip to content

Commit 5822636

Browse files
amd-eochoaloakadutta
authored andcommitted
[mlir][spirv] Fix test (NFC) (llvm#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
1 parent c221090 commit 5822636

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

mlir/test/Integration/GPU/SPIRV/simple_add.mlir

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33
// RUN: | FileCheck %s
44

55
// CHECK: data =
6-
// 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]]]
6+
// CHECK{LITERAL}: [[[7.7, 0, 0],
7+
// CHECK{LITERAL}: [7.7, 0, 0],
8+
// CHECK{LITERAL}: [7.7, 0, 0]],
9+
// CHECK{LITERAL}: [[0, 7.7, 0],
10+
// CHECK{LITERAL}: [0, 7.7, 0],
11+
// CHECK{LITERAL}: [0, 7.7, 0]],
12+
// CHECK{LITERAL}: [[0, 0, 7.7],
13+
// CHECK{LITERAL}: [0, 0, 7.7],
14+
// CHECK{LITERAL}: [0, 0, 7.7]]]
15+
716
module attributes {
817
gpu.container_module,
918
spirv.target_env = #spirv.target_env<

0 commit comments

Comments
 (0)