diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-03 22:12:54 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-03 22:12:54 +0000 |
commit | 1c465892908158b9fe05f873d940996469858307 (patch) | |
tree | 17fac5d6a0bee446d8f03f0528c43bb1ba57d10e /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 918999db958235516a9ef68fc78bbd2672f080b7 (diff) | |
download | bcm5719-llvm-1c465892908158b9fe05f873d940996469858307.tar.gz bcm5719-llvm-1c465892908158b9fe05f873d940996469858307.zip |
Add an experimental -early-live-intervals option.
This option runs LiveIntervals before TwoAddressInstructionPass which
will eventually learn to exploit and update the analysis.
Eventually, LiveIntervals will run before PHIElimination, and we can get
rid of LiveVariables.
llvm-svn: 161270
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index b488e8f077e..d0f8ae1af30 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -45,6 +45,7 @@ NewLiveIntervals("new-live-intervals", cl::Hidden, cl::desc("Use new algorithm forcomputing live intervals")); char LiveIntervals::ID = 0; +char &llvm::LiveIntervalsID = LiveIntervals::ID; INITIALIZE_PASS_BEGIN(LiveIntervals, "liveintervals", "Live Interval Analysis", false, false) INITIALIZE_AG_DEPENDENCY(AliasAnalysis) |