summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-02-08 23:18:37 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-02-08 23:18:37 +0000
commitea871523ecaa99a8fd7f12b5f57e2ee19743362d (patch)
treecf1d1a60f9f2b82e5e2d223e3b5c7b77c238df9c /lib/CodeGen/LiveIntervalAnalysis.cpp
parentdbdebe2736561e6465b81a896254442b8f91167f (diff)
downloadllvm-ea871523ecaa99a8fd7f12b5f57e2ee19743362d.tar.gz
llvm-ea871523ecaa99a8fd7f12b5f57e2ee19743362d.tar.bz2
llvm-ea871523ecaa99a8fd7f12b5f57e2ee19743362d.tar.xz
Turn on -new-live-intervals by default.
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
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 41984578b6..555dcc618f 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -40,10 +40,10 @@
#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;