Run a verification pass before any splitting to better distribute blame.

llvm-svn: 117629
This commit is contained in:
Jakob Stoklund Olesen 2010-10-29 00:40:55 +00:00
parent 033caa5895
commit a2578fe7f3
1 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,8 @@ namespace llvm {
Spiller *createInlineSpiller(MachineFunctionPass &pass,
MachineFunction &mf,
VirtRegMap &vrm) {
if (VerifySpills)
mf.verify(&pass);
return new InlineSpiller(pass, mf, vrm);
}
}