[all-commits] [llvm/llvm-project] 4506de: NFC. Move out and expose affine expression simplif...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Thu Oct 26 01:05:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4506de1e2bfe9352331d75fe6d3c89f3d2f5287c
      https://github.com/llvm/llvm-project/commit/4506de1e2bfe9352331d75fe6d3c89f3d2f5287c
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M mlir/include/mlir/IR/AffineExpr.h
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/IR/AffineExpr.cpp

  Log Message:
  -----------
  NFC. Move out and expose affine expression simplification utility out of AffineOps lib (#69813)

Move out trivial affine expression simplification out of AffineOps
library. Expose it from libIR. Users of such methods shouldn't have to
rely on the AffineOps dialect. For eg., with this change, the method can
be used now from lib/Analysis/ (FlatLinearConstraints) as well as
AffineOps dialect canonicalization.

This way those one won't need to depend on AffineOps for some
simplification of affine expressions.




More information about the All-commits mailing list