[all-commits] [llvm/llvm-project] 9832e1: [mlir][Analysis] Add alignAffineMapWithValues

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Aug 10 23:06:57 PDT 2021


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

  Changed paths:
    M mlir/include/mlir/Analysis/AffineStructures.h
    M mlir/lib/Analysis/AffineStructures.cpp

  Log Message:
  -----------
  [mlir][Analysis] Add alignAffineMapWithValues

This function aligns an affine map (and operands) with given dims and syms SSA values.

This is useful in conjunction with `FlatAffineConstraints::addLowerOrUpperBound`, which requires the `boundMap` to be aligned with the constraint set's dims and syms.

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




More information about the All-commits mailing list