This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Add affine.if canonicalization to compose in affine.apply ops
ClosedPublic

Authored by bondhugula on Jul 21 2022, 3:15 AM.

Details

Summary

Add affine.if canonicalization to compose affine.apply ops into its set
and operands. This eliminates affine.apply ops feeding into affine.if
ops.

Diff Detail

Event Timeline

bondhugula created this revision.Jul 21 2022, 3:15 AM
Herald added a project: Restricted Project. · View Herald Transcript
bondhugula requested review of this revision.Jul 21 2022, 3:15 AM
nicolasvasilache accepted this revision.Jul 21 2022, 7:00 AM
This revision is now accepted and ready to land.Jul 21 2022, 7:00 AM
dcaballe accepted this revision.Jul 21 2022, 9:47 AM

Thanks!

mlir/lib/Dialect/Affine/IR/AffineOps.cpp
2495–2496

missing `

bondhugula marked an inline comment as done.

Fix typo.

bondhugula added inline comments.Jul 21 2022, 9:26 PM
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
2495–2496

Thanks.