[llvm] r174774 - Turn on -new-live-intervals by default.
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Feb 8 15:18:37 PST 2013
Author: stoklund
Date: Fri Feb 8 17:18:37 2013
New Revision: 174774
URL: http://llvm.org/viewvc/llvm-project?rev=174774&view=rev
Log:
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.
Modified:
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=174774&r1=174773&r2=174774&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Fri Feb 8 17:18:37 2013
@@ -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;
More information about the llvm-commits
mailing list