[Mlir-commits] [mlir] [mlir][amx] Simplify intrinsic generation (PR #140559)
Tobias Gysi
llvmlistbot at llvm.org
Tue May 20 02:14: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,
----------------
gysit wrote:
Probably somewhere in `mlir/Conversion/LLVMCommon`? In Pattern.h there already seem to be some free functions (the compose / decompose value ones). Maybe that works?
https://github.com/llvm/llvm-project/pull/140559
More information about the Mlir-commits
mailing list