[llvm-branch-commits] [llvm-branch] r102821 - /llvm/branches/Apple/Morbo/lib/CodeGen/StackSlotColoring.cpp
Dale Johannesen
dalej at apple.com
Fri Apr 30 17:54:44 PDT 2010
Author: johannes
Date: Fri Apr 30 19:54:44 2010
New Revision: 102821
URL: http://llvm.org/viewvc/llvm-project?rev=102821&view=rev
Log:
--- Merging r102819 into '.':
U lib/CodeGen/StackSlotColoring.cpp
Modified:
llvm/branches/Apple/Morbo/lib/CodeGen/StackSlotColoring.cpp
Modified: llvm/branches/Apple/Morbo/lib/CodeGen/StackSlotColoring.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/CodeGen/StackSlotColoring.cpp?rev=102821&r1=102820&r2=102821&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/CodeGen/StackSlotColoring.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/CodeGen/StackSlotColoring.cpp Fri Apr 30 19:54:44 2010
@@ -182,7 +182,8 @@
if (!LS->hasInterval(FI))
continue;
LiveInterval &li = LS->getInterval(FI);
- li.weight += LiveIntervals::getSpillWeight(false, true, loopDepth);
+ if (!MI->isDebugValue())
+ li.weight += LiveIntervals::getSpillWeight(false, true, loopDepth);
SSRefs[FI].push_back(MI);
}
}
More information about the llvm-branch-commits
mailing list