This unblocks a following change to be more sophisticated during post pass rewriting.
Review wise, I basically just want a second set of eyes. This change should be straight forward, but since it took me an embarrassing number of attempts to get make check to pass. Let's make sure I'm not missing yet another cornercase.
This causes failures with -Werror:
RISCVInsertVSETVLI.cpp:1230:27: error: 'iterator_range' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported] for (MachineInstr &MI : iterator_range(MBB.rbegin(), MBB.rend())) { ^ /home/nemanjai/llvm/Git/trunk1/llvm-project/llvm/include/llvm/ADT/iterator_range.h:30:7: note: add a deduction guide to suppress this warning class iterator_range { ^ 1 error generated.Example: https://lab.llvm.org/buildbot/#/builders/36/builds/28344