[Mlir-commits] [mlir] [mlir][transform] Fix ch2 and additional documentation (PR #148407)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Sun Jul 13 01:02:26 PDT 2025
================
@@ -263,7 +266,7 @@ void ChangeCallTargetOp::getEffects(
// Indicate that the `call` handle is only read by this operation because the
// associated operation is not erased but rather modified in-place, so the
// reference to it remains valid.
- onlyReadsHandle(getCall(), effects);
+ onlyReadsHandle(this->getOperation()->getOpOperands().front(), effects);
----------------
ftynse wrote:
`getCallMutable()` should do the trick. Please avoid the unnamed accessors to operands.
https://github.com/llvm/llvm-project/pull/148407
More information about the Mlir-commits
mailing list