This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by Hardcode84 on Apr 20 2021, 2:27 AM.

Details

Summary

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

Diff Detail

Event Timeline

Hardcode84 created this revision.Apr 20 2021, 2:27 AM
Hardcode84 requested review of this revision.Apr 20 2021, 2:27 AM
silvas accepted this revision.Apr 20 2021, 12:15 PM

Thanks!

This revision is now accepted and ready to land.Apr 20 2021, 12:15 PM