[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 Apr 21 14:06:21 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:84
+static cl::opt<bool> VerifierStrictLivein(
+ "machine-verifier-strict-livein", cl::Hidden,
----------------
Probably should add a fixme to remove this when everything passes
================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:2462-2464
+ MCRegAliasIterator AliasingRegs(LiveInReg, TRI, true);
+ bool FoundPred = false;
+ while (AliasingRegs.isValid()) {
----------------
Usual pattern uses a for loop with the MCReg* iterators
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