commit | 1f46a0ac6611b2811084bb8f9bf884733bcfd2b0 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Oct 29 00:40:55 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Oct 29 00:40:55 2010 +0000 |
tree | 1214e8136eaeca59c4cb5a2588708ee880ddd1de | |
parent | 14b93851cc7611ae6c2000f1c162592ead954420 [diff] [blame] |
Run a verification pass before any splitting to better distribute blame. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117629 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/InlineSpiller.cpp b/lib/CodeGen/InlineSpiller.cpp index 05aa388..9a4da6c 100644 --- a/lib/CodeGen/InlineSpiller.cpp +++ b/lib/CodeGen/InlineSpiller.cpp
@@ -104,6 +104,8 @@ Spiller *createInlineSpiller(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm) { + if (VerifySpills) + mf.verify(&pass); return new InlineSpiller(pass, mf, vrm); } }