From: Jakob Stoklund Olesen Date: Fri, 29 Jul 2011 22:10:27 +0000 (+0000) Subject: Enable compact region splitting by default. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9162abb39f13146c0dea159e92ac291e4ea900bf;p=oota-llvm.git Enable compact region splitting by default. This helps generate better code in functions with high register pressure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136528 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index 239c8e43595..9bc26518704 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -52,7 +52,7 @@ STATISTIC(NumGlobalSplits, "Number of split global live ranges"); STATISTIC(NumLocalSplits, "Number of split local live ranges"); STATISTIC(NumEvicted, "Number of interferences evicted"); -cl::opt CompactRegions("compact-regions"); +cl::opt CompactRegions("compact-regions", cl::init(true)); static RegisterRegAlloc greedyRegAlloc("greedy", "greedy register allocator", createGreedyRegisterAllocator);