From 63e5b4c26965d98e67bd2b7fcabb11fab23a2773 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 8 Feb 2013 23:18:37 +0000 Subject: 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 --- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib') 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 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 -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; -- cgit v1.2.3