[all-commits] [llvm/llvm-project] eedc99: [mlir][Analysis] Add batched version of FlatAffine...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Aug 29 17:57:43 PDT 2021


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

  Changed paths:
    M mlir/include/mlir/Analysis/AffineStructures.h
    M mlir/lib/Analysis/AffineAnalysis.cpp
    M mlir/lib/Analysis/AffineStructures.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
    M mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp

  Log Message:
  -----------
  [mlir][Analysis] Add batched version of FlatAffineConstraints::addId

* Add batched version of all `addId` variants, so that multiple IDs can be added at a time.
* Rename `addId` and variants to `insertId` and `appendId`. Most external users call `appendId`. Splitting `addId` into two functions also makes it possible to provide batched version for both. (Otherwise, the overloads are ambigious when calling `addId`.)

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




More information about the All-commits mailing list