[all-commits] [llvm/llvm-project] b9ae74: [mlir] Fix getVectorReductionOp

Amy Zhuang via All-commits all-commits at lists.llvm.org
Tue Oct 26 09:14:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9ae741d3e809ec38a4131f5d1c48131be3af256
      https://github.com/llvm/llvm-project/commit/b9ae741d3e809ec38a4131f5d1c48131be3af256
  Author: Amy Zhuang <amy.zhuang at intel.com>
  Date:   2021-10-26 (Tue, 26 Oct 2021)

  Changed paths:
    M mlir/lib/Analysis/AffineAnalysis.cpp
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/test/Dialect/Affine/SuperVectorize/vectorize_reduction.mlir

  Log Message:
  -----------
  [mlir] Fix getVectorReductionOp

1.Combining kind min/max of Vector reduction op has been changed to
  minf/maxf, minsi/maxsi, and minui/maxui. Modify getVectorReductionOp
  accordingly.
2.Add min/max to supported reductions.

Reviewed By: dcaballe, nicolasvasilache

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




More information about the All-commits mailing list