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

Steven Perron via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 29 08:33:21 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 `-mtriple=spirv-vulkan-unknown`. Also add tests that use Vulkan 1.3. `-mtriple=spirv-vulkan1.3-unknown` I believe. Also a test that enables the extension: `--spirv-ext=+SPV_KHR_integer_dot_product`.

You might need changes to SPIRVModuleAnalysis.cpp to get this to work.



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


More information about the cfe-commits mailing list