You need to sign in or sign up before continuing.
[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
parent
6000478f
Please register or sign in to comment