Skip to content

Commit 689afb3

Browse files
committed
[mlir][spirv] Update spirv validation for module.mlir
This is to check that the new spir-val behaviour works correctly. Subsequent PRs will add validation to other target tests.
1 parent 0237477 commit 689afb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/test/Target/SPIRV/module.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// RUN: %if spirv-tools %{ rm -rf %t %}
55
// RUN: %if spirv-tools %{ mkdir %t %}
66
// RUN: %if spirv-tools %{ mlir-translate --no-implicit-module --serialize-spirv --split-input-file --spirv-save-validation-files-with-prefix=%t/module %s %}
7-
// RUN: %if spirv-tools %{ ls %t/module*.spv | xargs -I{} spirv-val {} %}
7+
// RUN: %if spirv-tools %{ spirv-val %t %}
88

99
// CHECK: spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader], []> {
1010
// CHECK-NEXT: spirv.func @foo() "Inline" {

0 commit comments

Comments
 (0)