[PATCH] D78586: [MachineVerifier] Add more checks for registers in live-in lists.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 07:35:11 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:2450-2451
+          bool FoundPred = false;
+          for (MCRegAliasIterator AliasingRegs(LiveInReg, TRI, true);
+               AliasingRegs.isValid(); ++AliasingRegs) {
+            if (PInfo.regsLiveOut.count(*AliasingRegs)) {
----------------
Probably should do this in terms of live-in / live-out regunits?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78586



More information about the llvm-commits mailing list