[PATCH] D153122: [MC] Use regunits instead of MCRegUnitIterator. NFC.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 16 03:29:00 PDT 2023
foad added inline comments.
================
Comment at: llvm/lib/MC/MCRegisterInfo.cpp:138
+ auto RangeA = regunits(RegA);
+ MCRegUnitIterator IA = RangeA.begin(), EA = RangeA.end();
+ auto RangeB = regunits(RegB);
----------------
This still mentions `MCRegUnitIterator` but it gets away from the non-standard `isValid` style of iteration, towards the standard `iterator_range` style.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153122/new/
https://reviews.llvm.org/D153122
More information about the llvm-commits
mailing list