mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-04 06:26:28 +00:00
Pass a Banner argument to the machine code verifier both from
createMachineVerifierPass and MachineFunction::verify. The banner is printed before the machine code dump, just like the printer pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122113 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -96,7 +96,7 @@ Spiller *createInlineSpiller(MachineFunctionPass &pass,
|
||||
MachineFunction &mf,
|
||||
VirtRegMap &vrm) {
|
||||
if (VerifySpills)
|
||||
mf.verify(&pass);
|
||||
mf.verify(&pass, "When creating inline spiller");
|
||||
return new InlineSpiller(pass, mf, vrm);
|
||||
}
|
||||
}
|
||||
@@ -313,7 +313,7 @@ void InlineSpiller::spill(LiveInterval *li,
|
||||
LiveRangeEdit edit(*li, newIntervals, spillIs);
|
||||
spill(edit);
|
||||
if (VerifySpills)
|
||||
mf_.verify(&pass_);
|
||||
mf_.verify(&pass_, "After inline spill");
|
||||
}
|
||||
|
||||
void InlineSpiller::spill(LiveRangeEdit &edit) {
|
||||
|
Reference in New Issue
Block a user