[all-commits] [llvm/llvm-project] 5f9fd4: [mlir][affine] allow iter args as valid dims (#139...

Mikhail Goncharov via All-commits all-commits at lists.llvm.org
Thu May 8 07:12:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f9fd475a03363db6da069b6ded1c503833a695c
      https://github.com/llvm/llvm-project/commit/5f9fd475a03363db6da069b6ded1c503833a695c
  Author: Mikhail Goncharov <goncharov.mikhail at gmail.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/test/Dialect/Affine/raise-memref.mlir

  Log Message:
  -----------
  [mlir][affine] allow iter args as valid dims (#139069)

that is effectivevely a revert of
7aabf47522625e227433cc9603e0b6858c5dd66d for
mlir/lib/Dialect/Affine/IR/AffineOps.cpp

there are situations when iter args can be used as a dims. For example
in

https://github.com/google/heir/blob/main/lib/Dialect/Polynomial/Conversions/PolynomialToModArith/PolynomialToModArith.cpp#L1036

rootExp and batchSize are iter args that are being used as dims and from
the point of internal loops
they are fixed.



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