[clang] [llvm] [HLSL][SPIRV][DXIL] Implement `dot4add_i8packed` intrinsic (PR #113623)

Steven Perron via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 31 12:34:13 PDT 2024


================
@@ -0,0 +1,48 @@
+; RUN: llc -O0 -mtriple=spirv32v1.3-vulkan-unknown %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32v1.3-vulkan-unknown %s -o - -filetype=obj | spirv-val %}
----------------
s-perron wrote:

You should be using `spirv`. You probably need to update `initAvailableCapabilitiesForVulkan` to allow the `Int8` capability. That is core in every version of spir-v, so you can make it always available.

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


More information about the cfe-commits mailing list