[all-commits] [llvm/llvm-project] 6b4c12: [mlir][loops] Add getters for multi dim loop varia...

srcarroll via All-commits all-commits at lists.llvm.org
Fri Jun 7 16:26:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b4c12284795a3030e37b17047271a47a69bb587
      https://github.com/llvm/llvm-project/commit/6b4c12284795a3030e37b17047271a47a69bb587
  Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
    M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
    M mlir/include/mlir/Interfaces/LoopLikeInterface.td
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/SCF/Transforms/ForallToFor.cpp
    M mlir/lib/Dialect/SCF/Transforms/ForallToParallel.cpp
    M mlir/unittests/Dialect/SCF/LoopLikeSCFOpsTest.cpp

  Log Message:
  -----------
  [mlir][loops] Add getters for multi dim loop variables in `LoopLikeOpInterface` (#94516)

This patch adds `getLoopInductionVars`, `getLoopLowerBounds`,
`getLoopBounds`, `getLoopSteps` interface methods to
`LoopLIkeOpInterface`. The corresponding single value versions have been
moved to shared class declaration and have been implemented based on the
new interface methods.



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