From a2578fe7f34632f064c96bd3308a2500e9fe1781 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 29 Oct 2010 00:40:55 +0000 Subject: Run a verification pass before any splitting to better distribute blame. llvm-svn: 117629 --- llvm/lib/CodeGen/InlineSpiller.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/InlineSpiller.cpp b/llvm/lib/CodeGen/InlineSpiller.cpp index 05aa3886575..9a4da6c286d 100644 --- a/llvm/lib/CodeGen/InlineSpiller.cpp +++ b/llvm/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); } } -- cgit v1.2.3