[all-commits] [llvm/llvm-project] aa0208: [mlir][scf] Implement getSingle... of LoopLikeOpin...
Felix Schneider via All-commits
all-commits at lists.llvm.org
Fri Oct 20 00:07:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aa0208d1bc52e45dc0032f41e58b50d3134d1089
https://github.com/llvm/llvm-project/commit/aa0208d1bc52e45dc0032f41e58b50d3134d1089
Author: Felix Schneider <30509320+ubfx at users.noreply.github.com>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/unittests/Dialect/CMakeLists.txt
A mlir/unittests/Dialect/SCF/CMakeLists.txt
A mlir/unittests/Dialect/SCF/LoopLikeSCFOpsTest.cpp
Log Message:
-----------
[mlir][scf] Implement getSingle... of LoopLikeOpinterface for scf::ParallelOp (#68511)
This adds implementations for `getSingleIterationVar`,
`getSingleLowerBound`, `getSingleUpperBound`, `getSingleStep` of
`LoopLikeOpInterface` to `scf::ParallelOp`. Until now, the
implementations for these methods defaulted to returning `std::nullopt`,
even in the special case where the parallel Op only has one dimension.
Related: https://github.com/llvm/llvm-project/pull/67883
More information about the All-commits
mailing list