[llvm] [SPIR-V] Fix --target-env version value in the test case (PR #123191)

Vyacheslav Levytskyy via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 04:17:34 PST 2025


https://github.com/VyacheslavLevytskyy created https://github.com/llvm/llvm-project/pull/123191

This PR fixes `--target-env` version value in the test case `llvm/test/CodeGen/SPIRV/validate/sycl-tangle-group-algorithms.ll`: the issue was introduced in https://github.com/llvm/llvm-project/pull/122755

>From 86aeaac8b4186a3ee285854075589bda835d6daa Mon Sep 17 00:00:00 2001
From: "Levytskyy, Vyacheslav" <vyacheslav.levytskyy at intel.com>
Date: Thu, 16 Jan 2025 04:16:15 -0800
Subject: [PATCH] fix --target-env version

---
 .../test/CodeGen/SPIRV/validate/sycl-tangle-group-algorithms.ll | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/test/CodeGen/SPIRV/validate/sycl-tangle-group-algorithms.ll b/llvm/test/CodeGen/SPIRV/validate/sycl-tangle-group-algorithms.ll
index a10341bce4859a..e1dfecb8bca821 100644
--- a/llvm/test/CodeGen/SPIRV/validate/sycl-tangle-group-algorithms.ll
+++ b/llvm/test/CodeGen/SPIRV/validate/sycl-tangle-group-algorithms.ll
@@ -8,7 +8,7 @@
 
 ; The only pass criterion is that spirv-val considers output valid.
 
-; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64v1.5-unknown-unknown %s -o - -filetype=obj | spirv-val --target-env spv1.4 %}
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64v1.5-unknown-unknown %s -o - -filetype=obj | spirv-val --target-env spv1.5 %}
 
 %"nd_item" = type { i8 }
 %struct.AssertHappened = type { i32, [257 x i8], [257 x i8], [129 x i8], i32, i64, i64, i64, i64, i64, i64 }



More information about the llvm-commits mailing list