[all-commits] [llvm/llvm-project] 3f9cdd: [MLIR] Add pattern rewriter util to erase block; r...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Sun Apr 5 06:58:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f9cdd44d740a49e2eabda284463a95d450fe72d
      https://github.com/llvm/llvm-project/commit/3f9cdd44d740a49e2eabda284463a95d450fe72d
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2020-04-05 (Sun, 05 Apr 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
    M mlir/include/mlir/IR/PatternMatch.h
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/IR/PatternMatch.cpp
    M mlir/lib/Transforms/DialectConversion.cpp
    M mlir/test/Transforms/canonicalize.mlir

  Log Message:
  -----------
  [MLIR] Add pattern rewriter util to erase block; remove dead else

Add a pattern rewriter utility to erase blocks (while notifying the
pattern rewriting driver of the erased ops). Use this to remove trivial
else blocks in affine.if ops.

Differential Revision: https://reviews.llvm.org/D77083




More information about the All-commits mailing list