The current return type sometimes leads to code like to_vector<2>(ValueRange(loop.getInductionIvs())). I think 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().
clang-format-diff not found in user's PATH; not linting file.