[llvm] fb9f5aa - [SPIR-V] Enable spirv-val in SPV_KHR_shader_clock test (#93292)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 24 06:30:48 PDT 2024
Author: Sven van Haastregt
Date: 2024-05-24T15:30:44+02:00
New Revision: fb9f5aa00fb92fd6ec6a5c9cf3b2e6acdc325083
URL: https://github.com/llvm/llvm-project/commit/fb9f5aa00fb92fd6ec6a5c9cf3b2e6acdc325083
DIFF: https://github.com/llvm/llvm-project/commit/fb9f5aa00fb92fd6ec6a5c9cf3b2e6acdc325083.diff
LOG: [SPIR-V] Enable spirv-val in SPV_KHR_shader_clock test (#93292)
Validation succeeds on this test since SPIRV-Tools commit `e2646f5e
("spirv-val: Consider target env for OpReadClockKHR scope",
2024-05-21)`.
Added:
Modified:
llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_shader_clock/shader_clock.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_shader_clock/shader_clock.ll b/llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_shader_clock/shader_clock.ll
index f20c1667421e7..e219f61b5c6e3 100644
--- a/llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_shader_clock/shader_clock.ll
+++ b/llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_shader_clock/shader_clock.ll
@@ -1,6 +1,6 @@
; RUN: not llc -O0 -mtriple=spirv64-unknown-unknown %s -o %t.spvt 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_shader_clock %s -o - | FileCheck %s
-; TODO: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_shader_clock %s -o - -filetype=obj | spirv-val %}
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_shader_clock %s -o - -filetype=obj | spirv-val %}
; CHECK-ERROR: LLVM ERROR: clock_read_device: the builtin requires the following SPIR-V extension: SPV_KHR_shader_clock
More information about the llvm-commits
mailing list