Page MenuHomePhabricator

[mlir][Standard] Add canonicalization for collapsing pass through cond_br successors.

Authored by rriddle on Apr 22 2020, 3:45 PM.



This revision adds support for the following canonicalization:

  cond_br %cond, ^bb1, ^bb2
  br ^bbN(...)
  br ^bbK(...)

  cond_br %cond, ^bbN(...), ^bbK(...)

Diff Detail

Event Timeline

rriddle created this revision.Apr 22 2020, 3:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2020, 3:45 PM
benvanik accepted this revision.Apr 22 2020, 6:27 PM
This revision is now accepted and ready to land.Apr 22 2020, 6:27 PM
This revision was automatically updated to reflect the committed changes.