From: Jakob Stoklund Olesen Date: Fri, 29 Oct 2010 00:40:55 +0000 (+0000) Subject: Run a verification pass before any splitting to better distribute blame. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1f46a0ac6611b2811084bb8f9bf884733bcfd2b0;p=oota-llvm.git 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 05aa3886575..9a4da6c286d 100644 --- a/lib/CodeGen/InlineSpiller.cpp +++ b/lib/CodeGen/InlineSpiller.cpp @@ -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); } }