[llvm] [SPIR-V] Add cl_khr_kernel_clock / SPV_KHR_shader_clock extension (PR #92771)
Sven van Haastregt via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 03:14:23 PDT 2024
================
@@ -0,0 +1,87 @@
+; RUN: not llc -O0 -mtriple=spirv32-unknown-unknown %s -o %t.spvt 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
+; RUN: llc -O0 -mtriple=spirv32-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 %}
----------------
svenvh wrote:
Nice catch! Fixed.
https://github.com/llvm/llvm-project/pull/92771
More information about the llvm-commits
mailing list