[llvm] [SPIR-V] Add SPV_INTEL_joint_matrix extension (PR #118578)

Vyacheslav Levytskyy via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 05:06:26 PST 2024


================
@@ -0,0 +1,46 @@
+; RUN: llc -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_cooperative_matrix,+SPV_INTEL_joint_matrix %s -o - | FileCheck %s
----------------
VyacheslavLevytskyy wrote:

If it's something that spirv-val understands, we need to add also smth like

; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_cooperative_matrix,+SPV_INTEL_joint_matrix %s -o - -filetype=obj | spirv-val %}

in all new test cases.

Also -verify-machineinstrs if it doesn't fail.


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


More information about the llvm-commits mailing list