It should have an "Allocate" effect on entry block arguments of all
regions in addition to consuming the operand.
Also relax the assertion in transform-dialect-check-uses until we can
properly support region-based control flow.
Fixes #60075.
Paths
| Differential D142200
[mlir] fix side effects for transform.AlternativesOp ClosedPublic Authored by ftynse on Jan 20 2023, 4:19 AM.
Details Summary It should have an "Allocate" effect on entry block arguments of all Also relax the assertion in transform-dialect-check-uses until we can Fixes #60075.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 20 2023, 6:25 AM Closed by commit rGd46afeef739a: [mlir] fix side effects for transform.AlternativesOp (authored by ftynse). · Explain WhyJan 23 2023, 7:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 491364 mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
mlir/lib/Dialect/Transform/Transforms/CheckUses.cpp
mlir/test/Dialect/Transform/check-use-after-free.mlir
|