[all-commits] [llvm/llvm-project] a9cff9: [mlir][SCF] Generalize AffineMinSCFCanonicalizatio...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Aug 24 18:41:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9cff97f94be6778265d225cb9f71db1fefed2d0
      https://github.com/llvm/llvm-project/commit/a9cff97f94be6778265d225cb9f71db1fefed2d0
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Passes.h
    M mlir/include/mlir/Dialect/SCF/Passes.td
    M mlir/include/mlir/Dialect/SCF/Transforms.h
    M mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
    A mlir/test/Dialect/SCF/canonicalize-affine-op.mlir
    R mlir/test/Dialect/SCF/canonicalize-scf-affine-min.mlir
    M mlir/test/Dialect/SCF/for-loop-peeling.mlir

  Log Message:
  -----------
  [mlir][SCF] Generalize AffineMinSCFCanonicalization to min/max ops

* Add support for affine.max ops to SCF loop peeling pattern.
* Add support for affine.max ops to `AffineMinSCFCanonicalizationPattern`.
* Rename `AffineMinSCFCanonicalizationPattern` to `AffineOpSCFCanonicalizationPattern`.
* Rename `AffineMinSCFCanonicalization` pass to `SCFAffineOpCanonicalization`.

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




More information about the All-commits mailing list