[Mlir-commits] [mlir] [mlir][amx] Simplify intrinsic generation (PR #140559)
Adam Siemieniuk
llvmlistbot at llvm.org
Tue May 20 04:06:43 PDT 2025
================
@@ -60,24 +64,168 @@ static LogicalResult verifyMultShape(Operation *op, amx::TileType atp,
return success();
}
+/// Get pointer to a memref descriptor.
+/// Optionally, the base pointer can be offset using linearized index computed
+/// from the given indices.
+static Value getBufferPtr(Location loc, MemRefType type, Value buffer,
----------------
adam-smnk wrote:
Refactor into `Pattern` util for now.
https://github.com/llvm/llvm-project/pull/140559
More information about the Mlir-commits
mailing list