summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-29 22:10:27 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-29 22:10:27 +0000
commitb5c2d3210c9b3a1efbb28f4caf640ae914e73f19 (patch)
tree24a1de8f09721bf0c53fe2e8344acd5e572b9f50 /llvm/lib/CodeGen
parent89bdcd7ef54b9384ce6b380224368da138d8df7d (diff)
downloadbcm5719-llvm-b5c2d3210c9b3a1efbb28f4caf640ae914e73f19.tar.gz
bcm5719-llvm-b5c2d3210c9b3a1efbb28f4caf640ae914e73f19.zip
Enable compact region splitting by default.
This helps generate better code in functions with high register pressure. llvm-svn: 136528
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAllocGreedy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index 239c8e43595..9bc26518704 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/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<bool> CompactRegions("compact-regions");
+cl::opt<bool> CompactRegions("compact-regions", cl::init(true));
static RegisterRegAlloc greedyRegAlloc("greedy", "greedy register allocator",
createGreedyRegisterAllocator);
OpenPOWER on IntegriCloud