[PATCH] D112556: [MachineVerifier] Live interval for a subreg must have subranges

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 09:30:30 PDT 2021


foad added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:2227-2229
+    if (SubRegIdx != 0 && !LI->hasSubRanges() &&
+        MRI->shouldTrackSubRegLiveness(Reg))
+      report("Live interval for subreg operand has no subranges", MO, MONum);
----------------
This is the only substantive change. The rest is just NFC refactoring.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112556



More information about the llvm-commits mailing list