[all-commits] [llvm/llvm-project] e3b02b: [MLIR] Fix bug in simplify affine map with operands

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Wed Nov 23 10:48:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3b02be56451179c1d02b01c8d441b569d21b5c2
      https://github.com/llvm/llvm-project/commit/e3b02be56451179c1d02b01c8d441b569d21b5c2
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2022-11-24 (Thu, 24 Nov 2022)

  Changed paths:
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/test/Dialect/Affine/canonicalize.mlir

  Log Message:
  -----------
  [MLIR] Fix bug in simplify affine map with operands

Fix bug in simplify affine map with operands utility; the wrong LHS and
RHS were being used in some cases post simplification. While on this,
also handle a corner case of undefined expressions.

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




More information about the All-commits mailing list