diff options
| author | Alexander Belyaev <pifon@google.com> | 2020-04-06 09:06:21 +0200 |
|---|---|---|
| committer | Alexander Belyaev <pifon@google.com> | 2020-04-06 10:11:02 +0200 |
| commit | c2d03e4ef1412e434ba62fd071f76b65e9f0e666 (patch) | |
| tree | 01ed478755b1e9c280d0cdbba7a3465587027627 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 6000478f394a774db581570e7873d8d2333507d1 (diff) | |
[MLIR] Change return type of ParallelOp::getInductionVars to ValueRange.
The current return type sometimes leads to code like
to_vector<2>(ValueRange(loop.getInductionIvs())). It would be nice to
shorten it. Users who need access to Block::BlockArgListType (if there
are any), can always call getBody()->getArguments(); if needed.
Also remove getNumInductionVars(), since there is getNumLoops().
Differential Revision: https://reviews.llvm.org/D77526
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
