HomePhabricator

[mlir] Fix invalid hoisting of dependent allocs in buffer hoisting pass.

Authored by dfki-jugr on Mar 9 2021, 3:58 AM.

Description

[mlir] Fix invalid hoisting of dependent allocs in buffer hoisting pass.

Buffer hoisting moves allocs upwards although it has dependency within its
nested region. This patch fixes this issue.

https://bugs.llvm.org/show_bug.cgi?id=49142

Differential Revision: https://reviews.llvm.org/D98248