[llvm] [SPIR-V] Add cl_khr_kernel_clock / SPV_KHR_shader_clock extension (PR #92771)

Vyacheslav Levytskyy via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 01:49:38 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 %}
----------------
VyacheslavLevytskyy wrote:

llc and spirv-val runs differ in spirv32 and spirv64

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


More information about the llvm-commits mailing list