]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commitdiff
Turn on -new-live-intervals by default.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 8 Feb 2013 23:18:37 +0000 (23:18 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 8 Feb 2013 23:18:37 +0000 (23:18 +0000)
This uses a liveness algorithm that does not depend on data from the
LiveVariables analysis, it is the first step towards removing
LiveVariables completely.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174774 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp

index 41984578b6502c6a869e737f6e8e76d9f740b84e..555dcc618fac4993ed737c27fbfaaa43560f7865 100644 (file)
 #include <limits>
 using namespace llvm;
 
-// Switch to the new experimental algorithm for computing live intervals.
+// Switch to the new algorithm for computing live intervals.
 static cl::opt<bool>
-NewLiveIntervals("new-live-intervals", cl::Hidden,
-                 cl::desc("Use new algorithm forcomputing live intervals"));
+NewLiveIntervals("new-live-intervals", cl::Hidden, cl::init(true),
+                 cl::desc("Use new algorithm for computing live intervals"));
 
 char LiveIntervals::ID = 0;
 char &llvm::LiveIntervalsID = LiveIntervals::ID;