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

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 05:26:32 PST 2025


Author: Vyacheslav Levytskyy
Date: 2025-01-16T14:26:29+01:00
New Revision: 6ada0022ce5703c0c4abbdb25d4cef038b6eef37

URL: https://github.com/llvm/llvm-project/commit/6ada0022ce5703c0c4abbdb25d4cef038b6eef37
DIFF: https://github.com/llvm/llvm-project/commit/6ada0022ce5703c0c4abbdb25d4cef038b6eef37.diff

LOG: [SPIR-V] Fix --target-env version value in the test case (#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

Added: 
    

Modified: 
    llvm/test/CodeGen/SPIRV/validate/sycl-tangle-group-algorithms.ll

Removed: 
    


################################################################################
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