Skip to content

Commit b5c2d32

Browse files
committed
Enable compact region splitting by default.
This helps generate better code in functions with high register pressure. llvm-svn: 136528
1 parent 89bdcd7 commit b5c2d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/RegAllocGreedy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ STATISTIC(NumGlobalSplits, "Number of split global live ranges");
5252
STATISTIC(NumLocalSplits, "Number of split local live ranges");
5353
STATISTIC(NumEvicted, "Number of interferences evicted");
5454

55-
cl::opt<bool> CompactRegions("compact-regions");
55+
cl::opt<bool> CompactRegions("compact-regions", cl::init(true));
5656

5757
static RegisterRegAlloc greedyRegAlloc("greedy", "greedy register allocator",
5858
createGreedyRegisterAllocator);

0 commit comments

Comments
 (0)