diff options
author | Felix Schneider <30509320+ubfx@users.noreply.github.com> | 2023-10-20 07:16:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 07:16:21 +0200 |
commit | 833a8db5b1e3922d6a4a0a158614af884a49fc02 (patch) | |
tree | 1352a1eb95a3bda46eaf8a7008432de407809fe0 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 7f7a15c3579c4d736e1cfaa7a4097f5a7afd9526 (diff) | |
download | llvm-833a8db5b1e3922d6a4a0a158614af884a49fc02.zip llvm-833a8db5b1e3922d6a4a0a158614af884a49fc02.tar.gz llvm-833a8db5b1e3922d6a4a0a158614af884a49fc02.tar.bz2 |
[mlir][scf] Implement getSingle... of LoopLikeOpInterface for scf::ForallOp (#67883)
The `getSingle(IterationVar|UpperBound|LowerBound|Step)` methods of
`LoopLikeOpInterface` are useful to quickly query the iteration space of
unidimensional loops. Until now, `scf::ForallOp` always fell back to the
default implementation of these methods, returning `std::nullopt`.
This patch implements those methods, returning the respective bounds
or steps in the special case of `rank == 1`.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions