Skip to content

Commit 8189551

Browse files
authored
Disable spirv-val in some tests (#3584)
Disable SPIR-V validation in some tests that do not pass with current HEAD of SPIRV-Tools (cb38b234 ("spirv-opt: Add LegalizeMultidim...", 2026-02-11)) while the discussion of #3569 is ongoing.
1 parent 30258ee commit 8189551

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎test/llvm-intrinsics/constrained-arithmetic.ll‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
; RUN: llvm-as %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s
33
; RUN: llvm-spirv %t.bc -o %t.spv
4-
; RUN: spirv-val %t.spv
4+
; TODO: re-enable validation
5+
; RUNx: spirv-val %t.spv
56

67

78
; CHECK: Name [[ad:[0-9]+]] "add"

‎test/llvm-intrinsics/lifetime.ll‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
; Verify that we have valid SPV and the same output LLVM IR when using untyped pointers.
1010
; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -o %t.spv
11-
; RUN: spirv-val %t.spv
11+
; TODO: re-enable validation
12+
; RUNx: spirv-val %t.spv
1213
; RUN: llvm-spirv -r %t.spv -o %t.spv.bc
1314
; RUN: llvm-dis < %t.spv.bc | FileCheck %s --check-prefix=CHECK-LLVM
1415

‎test/transcoding/OpenCL/convert_functions.ll‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
; expect such functions to be translated to SPIR-V FunctionCall.
44

55
; RUN: llvm-spirv %s -o %t.spv
6-
; RUN: spirv-val %t.spv
6+
; TODO: re-enable validation
7+
; RUNx: spirv-val %t.spv
78
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
89
; RUN: FileCheck < %t.spt %s -check-prefix=CHECK-SPIRV
910
; RUN: llvm-spirv %t.spv -r -o - | llvm-dis -o %t.rev.ll

0 commit comments

Comments
 (0)