From ea871523ecaa99a8fd7f12b5f57e2ee19743362d Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 8 Feb 2013 23:18:37 +0000 Subject: [PATCH] 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 --- lib/CodeGen/LiveIntervalAnalysis.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 41984578b65..555dcc618fa 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/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; -- 2.34.1