From: Sven van Haastregt Date: Mon, 16 Feb 2026 16:11:15 +0100 Subject: [10/13] [Backport to 22] Disable spirv-val in some tests (#3584) Origin: upstream, https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/46a4e7e273d8e3bf20c428f063948349fe03abd7 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. --- test/llvm-intrinsics/lifetime.ll | 3 ++- test/transcoding/OpenCL/convert_functions.ll | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/llvm-intrinsics/lifetime.ll b/test/llvm-intrinsics/lifetime.ll index 21f5e26c..604b6ccf 100644 --- a/test/llvm-intrinsics/lifetime.ll +++ b/test/llvm-intrinsics/lifetime.ll @@ -8,7 +8,8 @@ ; Verify that we have valid SPV and the same output LLVM IR when using untyped pointers. ; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -o %t.spv -; RUN: spirv-val %t.spv +; TODO: re-enable validation +; RUNx: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.spv.bc ; RUN: llvm-dis < %t.spv.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/OpenCL/convert_functions.ll b/test/transcoding/OpenCL/convert_functions.ll index c3ff2b78..0e37b5a7 100644 --- a/test/transcoding/OpenCL/convert_functions.ll +++ b/test/transcoding/OpenCL/convert_functions.ll @@ -3,7 +3,8 @@ ; expect such functions to be translated to SPIR-V FunctionCall. ; RUN: llvm-spirv %s -o %t.spv -; RUN: spirv-val %t.spv +; TODO: re-enable validation +; RUNx: spirv-val %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s -check-prefix=CHECK-SPIRV ; RUN: llvm-spirv %t.spv -r -o - | llvm-dis -o %t.rev.ll -- 2.55.0