[all-commits] [llvm/llvm-project] 5cf714: [mlir][SCF] scf.for: Consistent API around `initAr...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Mon Sep 18 00:13:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5cf714bb2f75552b10e1eb62fd07aec4b6033881
https://github.com/llvm/llvm-project/commit/5cf714bb2f75552b10e1eb62fd07aec4b6033881
Author: Matthias Springer <me at m-sp.org>
Date: 2023-09-18 (Mon, 18 Sep 2023)
Changed paths:
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
M mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/Transforms/LoopCanonicalization.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Dialect/SCF/invalid.mlir
Log Message:
-----------
[mlir][SCF] scf.for: Consistent API around `initArgs` (#66512)
* Always use the auto-generated `getInitArgs` function. Remove the
hand-written `getInitOperands` duplicate.
* Remove `hasIterOperands` and `getNumIterOperands`. The names were
inconsistent because the "arg" is called `initArgs` in TableGen. Use
`getInitArgs().size()` instead.
* Fix verification around ops with no results.
More information about the All-commits
mailing list