[llvm-commits] [llvm] r158865 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Jun 20 15:52:22 PDT 2012


Author: stoklund
Date: Wed Jun 20 17:52:22 2012
New Revision: 158865

URL: http://llvm.org/viewvc/llvm-project?rev=158865&view=rev
Log:
Enable register unit liveness by default.

Soon we won't need to compute live intervals for physical registers.

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=158865&r1=158864&r2=158865&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Wed Jun 20 17:52:22 2012
@@ -41,7 +41,7 @@
 using namespace llvm;
 
 // Temporary option to enable regunit liveness.
-static cl::opt<bool> LiveRegUnits("live-regunits", cl::Hidden);
+static cl::opt<bool> LiveRegUnits("live-regunits", cl::Hidden, cl::init(true));
 
 STATISTIC(numIntervals , "Number of original intervals");
 





More information about the llvm-commits mailing list