[all-commits] [llvm/llvm-project] dc4786: [mlir][affine] remove divide zero check when simpl...

long.chen via All-commits all-commits at lists.llvm.org
Sat Nov 18 10:15:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc4786b4877d67d73d3892c45baf6811af0e6f57
      https://github.com/llvm/llvm-project/commit/dc4786b4877d67d73d3892c45baf6811af0e6f57
  Author: long.chen <lipracer at gmail.com>
  Date:   2023-11-19 (Sun, 19 Nov 2023)

  Changed paths:
    M mlir/include/mlir/IR/AffineExprVisitor.h
    M mlir/include/mlir/IR/AffineMap.h
    M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/Affine/IR/CMakeLists.txt
    M mlir/lib/IR/AffineExpr.cpp
    M mlir/lib/IR/AffineMap.cpp
    M mlir/test/Dialect/Affine/constant-fold.mlir

  Log Message:
  -----------
  [mlir][affine] remove divide zero check when simplifer affineMap (#64622) (#68519)

When performing constant folding on the affineApplyOp, there is a
division of 0 in the affine map.
[related issue](https://github.com/llvm/llvm-project/issues/64622)

---------

Co-authored-by: Javier Setoain <jsetoain at users.noreply.github.com>




More information about the All-commits mailing list