This is an archive of the discontinued LLVM Phabricator instance.

Add RegionBranchOpInterface for AffineIf Op
ClosedPublic

Authored by akshaybaviskar on Aug 1 2022, 10:38 PM.

Details

Summary

Adds RegionBranchOpInterface for AffineIf Op and tests it
using buffer deallocation pass.

Diff Detail

Event Timeline

akshaybaviskar created this revision.Aug 1 2022, 10:38 PM
akshaybaviskar requested review of this revision.Aug 1 2022, 10:38 PM
This revision is now accepted and ready to land.Aug 22 2022, 10:40 AM
akshaybaviskar added a comment.EditedAug 26 2022, 6:23 AM

Hi @reviewers,
Can this patch be merged now?
Thanks.

bondhugula added inline comments.Nov 20 2022, 7:30 PM
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
2534

Nit: is -> is the
Comma after region.

mlir/test/Dialect/Bufferization/Transforms/buffer-deallocation.mlir
1304

Nit: then in backticks to avoid confusion.

Add RegionBranchOpInterface for AffineIf Op

Adds RegionBranchOpInterface for AffineIf Op and tests it
using buffer deallocation pass.

Add RegionBranchOpInterface for AffineIf Op

Adds RegionBranchOpInterface for AffineIf Op and tests it
using buffer deallocation pass.

bondhugula accepted this revision.Nov 21 2022, 12:12 AM
bondhugula added inline comments.Nov 21 2022, 12:15 AM
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
2523

This leads to compile warnings - please fix.

Add RegionBranchOpInterface for AffineIf Op

Adds RegionBranchOpInterface for AffineIf Op and tests it
using buffer deallocation pass.

clang-format shows a change is needed.

This revision was landed with ongoing or failed builds.Nov 23 2022, 12:50 AM
This revision was automatically updated to reflect the committed changes.