[all-commits] [llvm/llvm-project] 255ba1: [mlir][AffineMap] NFC - Refactor getProjectedMap a...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Wed Mar 22 05:31:02 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 255ba1c334b86792054c152ce8533dca5b452b41
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M mlir/include/mlir/IR/AffineMap.h
    M mlir/lib/IR/AffineMap.cpp

  Log Message:
  [mlir][AffineMap] NFC - Refactor getProjectedMap and split into projectDims and projectSymbols

The default behavior of getProjectedMap may be surprising as it implicitly compresses the dims and
the unused symbols.

Make these explicit in the API and refactor to more idiomatic implementations with better reuse.

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

More information about the All-commits mailing list