[Mlir-commits] [mlir] [mlir][side effect] refactor(*): Include more precise side effects (PR #94213)
Matthias Springer
llvmlistbot at llvm.org
Tue Jun 4 12:11:41 PDT 2024
================
@@ -706,6 +706,7 @@ def MemRef_DmaStartOp : MemRef_Op<"dma_start"> {
let extraClassDeclaration = [{
// Returns the source MemRefType for this DMA operation.
Value getSrcMemRef() { return getOperand(0); }
+ OpOperand &getSrcMemRefMutable() { return getOperation()->getOpOperand(0); }
----------------
matthias-springer wrote:
I think this should not be necessary. `get...Mutable()` functions are auto-generated from Tablegen.
https://github.com/llvm/llvm-project/pull/94213
More information about the Mlir-commits
mailing list