summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit63e5b4c26965d98e67bd2b7fcabb11fab23a2773 (patch)
tree828facd9cd3837be42f83a1ff4a6276eb28ecdb8 /llvm/lib
parentcea01ee93911d3603ae5b31b615e1b15d31ee9c3 (diff)
downloadbcm5719-llvm-63e5b4c26965d98e67bd2b7fcabb11fab23a2773.tar.gz
bcm5719-llvm-63e5b4c26965d98e67bd2b7fcabb11fab23a2773.zip
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. llvm-svn: 174774
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 41984578b65..555dcc618fa 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud