diff options
Diffstat (limited to 'mlir/lib/Dialect/Func/TransformOps/FuncTransformOps.cpp')
| -rw-r--r-- | mlir/lib/Dialect/Func/TransformOps/FuncTransformOps.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mlir/lib/Dialect/Func/TransformOps/FuncTransformOps.cpp b/mlir/lib/Dialect/Func/TransformOps/FuncTransformOps.cpp index 1e262736226f..b632b25d0cc6 100644 --- a/mlir/lib/Dialect/Func/TransformOps/FuncTransformOps.cpp +++ b/mlir/lib/Dialect/Func/TransformOps/FuncTransformOps.cpp @@ -216,14 +216,14 @@ LogicalResult transform::CastAndCallOp::verify() { void transform::CastAndCallOp::getEffects( SmallVectorImpl<MemoryEffects::EffectInstance> &effects) { - transform::onlyReadsHandle(getInsertionPoint(), effects); + transform::onlyReadsHandle(getInsertionPointMutable(), effects); if (getInputs()) - transform::onlyReadsHandle(getInputs(), effects); + transform::onlyReadsHandle(getInputsMutable(), effects); if (getOutputs()) - transform::onlyReadsHandle(getOutputs(), effects); + transform::onlyReadsHandle(getOutputsMutable(), effects); if (getFunction()) - transform::onlyReadsHandle(getFunction(), effects); - transform::producesHandle(getResult(), effects); + transform::onlyReadsHandle(getFunctionMutable(), effects); + transform::producesHandle(getOperation()->getOpResults(), effects); transform::modifiesPayload(effects); } |
