[llvm-commits] [llvm] r117629 - /llvm/trunk/lib/CodeGen/InlineSpiller.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Thu Oct 28 17:40:55 PDT 2010
Author: stoklund
Date: Thu Oct 28 19:40:55 2010
New Revision: 117629
URL: http://llvm.org/viewvc/llvm-project?rev=117629&view=rev
Log:
Run a verification pass before any splitting to better distribute blame.
Modified:
llvm/trunk/lib/CodeGen/InlineSpiller.cpp
Modified: llvm/trunk/lib/CodeGen/InlineSpiller.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/InlineSpiller.cpp?rev=117629&r1=117628&r2=117629&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/InlineSpiller.cpp (original)
+++ llvm/trunk/lib/CodeGen/InlineSpiller.cpp Thu Oct 28 19:40:55 2010
@@ -104,6 +104,8 @@
Spiller *createInlineSpiller(MachineFunctionPass &pass,
MachineFunction &mf,
VirtRegMap &vrm) {
+ if (VerifySpills)
+ mf.verify(&pass);
return new InlineSpiller(pass, mf, vrm);
}
}
More information about the llvm-commits
mailing list