[PATCH] D77083: [MLIR] Add pattern rewriter util to erase block; add affine.if pattern to remove dead else blocks

Uday Bondhugula via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 13:37:58 PDT 2020


bondhugula updated this revision to Diff 253687.
bondhugula added a comment.

fix eraseBlock iteration order


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77083/new/

https://reviews.llvm.org/D77083

Files:
  mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
  mlir/include/mlir/IR/PatternMatch.h
  mlir/lib/Dialect/Affine/IR/AffineOps.cpp
  mlir/lib/IR/PatternMatch.cpp
  mlir/test/Transforms/canonicalize.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77083.253687.patch
Type: text/x-patch
Size: 4568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200330/397e93b6/attachment-0001.bin>


More information about the llvm-commits mailing list