[PATCH] D152655: [MC] Merge MC[Sub,Super]RegIterator with mc_[sub,super]_reg_iterator

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 15:24:29 PDT 2023


dblaikie added inline comments.


================
Comment at: llvm/include/llvm/MC/MCRegisterInfo.h:539
 class MCSubRegIndexIterator {
-  MCSubRegIterator SRIter;
+  MCSubRegIterator SRIter, SREndIter;
   const uint16_t *SRIndex;
----------------
You could still expose `isValid` through `MCSubRegIterator` & avoid needing to add the second iterator here? No big deal either way, I guess.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152655/new/

https://reviews.llvm.org/D152655



More information about the llvm-commits mailing list