summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-06-23 21:24:32 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-06-23 21:24:32 +0000
commit71013f8c78d9689d827a2fac8d1cc7708dc034f2 (patch)
treec0f764e2de07571d8357705fb958f63fe5184358 /llvm/lib/CodeGen
parent403e5670430b8c9fc6a62fceb42df1aeacccd660 (diff)
downloadbcm5719-llvm-71013f8c78d9689d827a2fac8d1cc7708dc034f2.tar.gz
bcm5719-llvm-71013f8c78d9689d827a2fac8d1cc7708dc034f2.zip
Remove option used to debug stack coloring bugs. It's no longer needed since stack coloring is now bug free.
llvm-svn: 52644
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/StackSlotColoring.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/StackSlotColoring.cpp b/llvm/lib/CodeGen/StackSlotColoring.cpp
index b6a043c0dae..c6ec9f5e6cf 100644
--- a/llvm/lib/CodeGen/StackSlotColoring.cpp
+++ b/llvm/lib/CodeGen/StackSlotColoring.cpp
@@ -29,10 +29,6 @@ DisableSharing("no-stack-slot-sharing",
cl::init(false), cl::Hidden,
cl::desc("Surpress slot sharing during stack coloring"));
-static cl::opt<int>
-DeleteLimit("slot-delete-limit", cl::init(-1), cl::Hidden,
- cl::desc("Stack coloring slot deletion limit"));
-
STATISTIC(NumEliminated, "Number of stack slots eliminated due to coloring");
namespace {
@@ -156,8 +152,7 @@ StackSlotColoring::OverlapWithAssignments(LiveInterval *li, int Color) const {
int StackSlotColoring::ColorSlot(LiveInterval *li) {
int Color = -1;
bool Share = false;
- if (!DisableSharing &&
- (DeleteLimit == -1 || (int)NumEliminated < DeleteLimit)) {
+ if (!DisableSharing) {
// Check if it's possible to reuse any of the used colors.
Color = UsedColors.find_first();
while (Color != -1) {
OpenPOWER on IntegriCloud