[Mlir-commits] [mlir] 647fcc9 - [XeGPU] Add missing StoreMatrix and LoadMatrix entries for bmg uArch. (#181006)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Feb 12 10:02:18 PST 2026
Author: Sang Ik Lee
Date: 2026-02-12T10:02:13-08:00
New Revision: 647fcc9a6515d6426235c1bd069166052dd964b0
URL: https://github.com/llvm/llvm-project/commit/647fcc9a6515d6426235c1bd069166052dd964b0
DIFF: https://github.com/llvm/llvm-project/commit/647fcc9a6515d6426235c1bd069166052dd964b0.diff
LOG: [XeGPU] Add missing StoreMatrix and LoadMatrix entries for bmg uArch. (#181006)
uArch for bmg was missing entries for StoreMatrix and LoadMatrix
instruction.
Added:
Modified:
mlir/include/mlir/Dialect/XeGPU/uArch/IntelGpuXe2.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/XeGPU/uArch/IntelGpuXe2.h b/mlir/include/mlir/Dialect/XeGPU/uArch/IntelGpuXe2.h
index 0341e4248767a..c60a744d6b858 100644
--- a/mlir/include/mlir/Dialect/XeGPU/uArch/IntelGpuXe2.h
+++ b/mlir/include/mlir/Dialect/XeGPU/uArch/IntelGpuXe2.h
@@ -271,9 +271,11 @@ struct BMGuArch : public Xe2Plus {
static const Subgroup2DBlockPrefetchInstruction prefetchNdInst;
static const SpirvStoreScatterInstruction storeScatterInst;
static const SpirvLoadGatherInstruction loadGatherInst;
- static const Instruction *arr[] = {&dpasInst, &loadNdInst,
- &storeNdInst, &prefetchNdInst,
- &storeScatterInst, &loadGatherInst};
+ static const StoreMatrixInstruction storeMatrixInst;
+ static const LoadMatrixInstruction loadMatrixInst;
+ static const Instruction *arr[] = {
+ &dpasInst, &loadNdInst, &storeNdInst, &prefetchNdInst,
+ &storeScatterInst, &loadGatherInst, &storeMatrixInst, &loadMatrixInst};
return arr;
}
More information about the Mlir-commits
mailing list