This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][bufferize] Fix insertion point of result buffers
ClosedPublic

Authored by springerm on Nov 11 2021, 5:15 PM.

Details

Summary

When requesting buffer allocations, the insertion point is already set correctly. The allocation procedure may hoist the allocation to an earlier location. If the allocation is not hoisted, the insertion point is now guaranteed to be a valid one; no more dominance issues.

Diff Detail