diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-29 00:40:55 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-29 00:40:55 +0000 |
commit | a2578fe7f34632f064c96bd3308a2500e9fe1781 (patch) | |
tree | 762bff096d7bbe685b297d3cfd0308e0378fe888 /llvm/lib | |
parent | 033caa5895ec2446998b6c2a4d5ca6a2567fc455 (diff) | |
download | bcm5719-llvm-a2578fe7f34632f064c96bd3308a2500e9fe1781.tar.gz bcm5719-llvm-a2578fe7f34632f064c96bd3308a2500e9fe1781.zip |
Run a verification pass before any splitting to better distribute blame.
llvm-svn: 117629
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/InlineSpiller.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } |