[all-commits] [llvm/llvm-project] d5802c: [mlir] Optimize const values AffineMap::compose (#...

qazwsxedcrfvtg14 via All-commits all-commits at lists.llvm.org
Fri May 23 17:31:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5802c30ae6cf296489daf12b36582e9e1d658bb
      https://github.com/llvm/llvm-project/commit/d5802c30ae6cf296489daf12b36582e9e1d658bb
  Author: qazwsxedcrfvtg14 <yich at google.com>
  Date:   2025-05-23 (Fri, 23 May 2025)

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

  Log Message:
  -----------
  [mlir] Optimize const values AffineMap::compose (#141005)

The original implementation will create two intermediate AffineMap in
the context, calling this compose function with different values
multiple times will occupy a lot of memory.

To improve the performance, we can call the AffineExpr::replace
directly, so we don't need to store all combinations of values in the
context.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list