Page MenuHomePhabricator

[MLIR][Linalg] Extend detensoring control flow model.
ClosedPublic

Authored by ergawy on Aug 3 2021, 8:20 AM.

Details

Summary

This patch extends the PureControlFlowDetectionModel to consider
detensoring br and cond_br operands.

See: https://github.com/google/iree/issues/1159#issuecomment-884322687,
for a disccusion on the need for such extension.

Diff Detail

Event Timeline

ergawy created this revision.Aug 3 2021, 8:20 AM
ergawy requested review of this revision.Aug 3 2021, 8:20 AM
silvas accepted this revision.Aug 3 2021, 8:55 AM

Beautiful :)

This revision is now accepted and ready to land.Aug 3 2021, 8:55 AM
This revision was automatically updated to reflect the committed changes.