This is an archive of the discontinued LLVM Phabricator instance.

[mlir][scf] Canonicalize nested scf.if's to scf.if + arith.and
ClosedPublic

Authored by Hardcode84 on Dec 17 2021, 4:26 AM.

Diff Detail

Event Timeline

Hardcode84 created this revision.Dec 17 2021, 4:26 AM
Hardcode84 requested review of this revision.Dec 17 2021, 4:26 AM
ftynse accepted this revision.Dec 20 2021, 5:10 AM
This revision is now accepted and ready to land.Dec 20 2021, 5:10 AM
bondhugula accepted this revision.Dec 20 2021, 8:34 AM
bondhugula added a subscriber: bondhugula.
bondhugula added inline comments.
mlir/lib/Dialect/SCF/SCF.cpp
1597

Typo: single

1618

Recommend putting if and then in backticks.

1650

Please add in sorted order.

mlir/test/Dialect/SCF/canonicalize.mlir
448

Drop blank line.

Hardcode84 marked 4 inline comments as done.Dec 20 2021, 10:54 AM