mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Add an MRI::verifyUseLists() function.
This checks the sanity of the register use lists in the MI intermediate representation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -472,6 +472,9 @@ void MachineVerifier::visitMachineFunctionBefore() {
|
||||
if (MInfo.Succs.size() != I->succ_size())
|
||||
report("MBB has duplicate entries in its successor list.", I);
|
||||
}
|
||||
|
||||
// Check that the register use lists are sane.
|
||||
MRI->verifyUseLists();
|
||||
}
|
||||
|
||||
// Does iterator point to a and b as the first two elements?
|
||||
|
Reference in New Issue
Block a user