[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
+
+; CHECK-DAG: Capability CooperativeMatrixKHR
+; CHECK-DAG: Extension "SPV_KHR_cooperative_matrix"
+; CHECK-DAG: Extension "SPV_INTEL_joint_matrix"
+; CHECK-DAG: CooperativeMatrixBFloat16ComponentTypeINTEL
+
+; CHECK: OpCooperativeMatrixMulAddKHR %[[#]] %[[#]] %[[#]] %[[#]] MatrixAAndBBFloat16ComponentsINTEL
+
+; ModuleID = 'test-matrix-opaque.bc'
----------------
VyacheslavLevytskyy wrote:
Let's please clean this and all following test cases of irrelevant details to keep it as clean and readable as we can -- unneeded comments, metadata records and references (if they are not require for the test) and source_filename, target datalayout and target triple.
https://github.com/llvm/llvm-project/pull/118578
More information about the llvm-commits
mailing list