[all-commits] [llvm/llvm-project] d69293: [mlir][SCF] `ForOp`: Remove `getIterArgNumberForOp...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Sep 19 08:33:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d69293c1c80f0f0e3eb012bc006573d4d5cb820f
      https://github.com/llvm/llvm-project/commit/d69293c1c80f0f0e3eb012bc006573d4d5cb820f
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
    M mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
    M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp

  Log Message:
  -----------
  [mlir][SCF] `ForOp`: Remove `getIterArgNumberForOpOperand` (#66629)

This function was inconsistent with the remaining API because it
accepted `OpOperand &` that do not belong to the op. All the other
functions assert. This helper function is also not really necessary, as
the iter_arg number is identical to the result number.




More information about the All-commits mailing list