HomePhabricator

[mlir] Assume terminators in nested regions are always legal in…

Authored by Hardcode84 on Apr 10 2021, 9:38 AM.

Description

[mlir] Assume terminators in nested regions are always legal in FuncBufferizePass

Previously, any terminator without ReturnLike and BranchOpInterface traits (e.g. scf.condition) were causing pass to fail.

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