summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-20 22:52:22 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-20 22:52:22 +0000
commit797e9a7737136a5e13d9114fe11543da471f9bdc (patch)
treedd33226d297a69ed5dec4d3760cb3b87f864a91d /lib
parent3b30bca16f7ab002bcd5058b3f3a044a267541e0 (diff)
downloadllvm-797e9a7737136a5e13d9114fe11543da471f9bdc.tar.gz
llvm-797e9a7737136a5e13d9114fe11543da471f9bdc.tar.bz2
llvm-797e9a7737136a5e13d9114fe11543da471f9bdc.tar.xz
Enable register unit liveness by default.
Soon we won't need to compute live intervals for physical registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 153d1c37df..09bf81772b 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -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");