From 7df3f0170398331cbdf65c73589b8d1929972a90 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Fri, 21 Jun 2013 18:33:14 +0000 Subject: [PATCH] whitespace llvm-svn: 184570 --- llvm/lib/CodeGen/LiveRangeEdit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/CodeGen/LiveRangeEdit.cpp b/llvm/lib/CodeGen/LiveRangeEdit.cpp index b1de6a09fe38..ee1e8de3bd28 100644 --- a/llvm/lib/CodeGen/LiveRangeEdit.cpp +++ b/llvm/lib/CodeGen/LiveRangeEdit.cpp @@ -331,7 +331,7 @@ void LiveRangeEdit::eliminateDeadDefs(SmallVectorImpl &Dead, TheDelegate->LRE_WillShrinkVirtReg(LI->reg); if (!LIS.shrinkToUses(LI, &Dead)) continue; - + // Don't create new intervals for a register being spilled. // The new intervals would have to be spilled anyway so its not worth it. // Also they currently aren't spilled so creating them and not spilling @@ -343,7 +343,7 @@ void LiveRangeEdit::eliminateDeadDefs(SmallVectorImpl &Dead, break; } } - + if (BeingSpilled) continue; // LI may have been separated, create new intervals.