[Mlir-commits] [mlir] [mlir][amx] Simplify intrinsic generation (PR #140559)

Adam Siemieniuk llvmlistbot at llvm.org
Tue May 20 02:05:12 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:

Yes, just not sure where to place it yet.
Many of the `ConvertToLLVMPattern` helpers could be made more independent.

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


More information about the Mlir-commits mailing list