This commit marks AllocLikeOp as MemAlloc in StandardOps.
Also in Linalg dependency analysis use memory effect to detect
allocation. This allows the dependency analysis to be more
general and recognize other allocation-like operations
Differential D78705
[mlir][linalg] Use memory effect to detecting allocation antiagainst on Apr 23 2020, 4:53 AM. Authored by
Details This commit marks AllocLikeOp as MemAlloc in StandardOps. Also in Linalg dependency analysis use memory effect to detect
Diff Detail
Event TimelineComment Actions Thanks!
Comment Actions Actually we have two allocation-like ops in std. I think leveraging them should suffice for a test over the memory effect here. |
Can we add to AllocLikeOp instead? Ideally marking the returned value directly.