This revision adds support for the following canonicalization:
cond_br %cond, ^bb1, ^bb2 ^bb1 br ^bbN(...) ^bb2 br ^bbK(...) cond_br %cond, ^bbN(...), ^bbK(...)
Paths
| Differential D78681
[mlir][Standard] Add canonicalization for collapsing pass through cond_br successors. ClosedPublic Authored by rriddle on Apr 22 2020, 3:45 PM.
Details Summary This revision adds support for the following canonicalization: cond_br %cond, ^bb1, ^bb2 ^bb1 br ^bbN(...) ^bb2 br ^bbK(...) cond_br %cond, ^bbN(...), ^bbK(...)
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 22 2020, 6:27 PM Closed by commit rG2f4b303d683c: [mlir][Standard] Add canonicalization for collapsing pass through cond_br… (authored by rriddle). · Explain WhyApr 23 2020, 5:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 259418 mlir/lib/Dialect/StandardOps/IR/Ops.cpp
mlir/test/Dialect/Standard/canonicalize-cf.mlir
mlir/test/Transforms/canonicalize.mlir
|