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

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 04:18:11 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-spir-v

Author: Vyacheslav Levytskyy (VyacheslavLevytskyy)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/123191.diff


1 Files Affected:

- (modified) llvm/test/CodeGen/SPIRV/validate/sycl-tangle-group-algorithms.ll (+1-1) 


``````````diff
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 }

``````````

</details>


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


More information about the llvm-commits mailing list