summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SplitKit.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-08-18 20:29:53 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-08-18 20:29:53 +0000
commitff3ae8691c18c4c40d09fb21ecac880aea9a536b (patch)
tree887421952e665c5ab004953798362f78a84efd29 /lib/CodeGen/SplitKit.h
parente16068240e21650becf9b47a4dc2284531397696 (diff)
downloadllvm-ff3ae8691c18c4c40d09fb21ecac880aea9a536b.tar.gz
llvm-ff3ae8691c18c4c40d09fb21ecac880aea9a536b.tar.bz2
llvm-ff3ae8691c18c4c40d09fb21ecac880aea9a536b.tar.xz
Thinking about it, we don't need MachineDominatorTree after all. The DomValue
map discovers the iterated dominance frontier for free. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
-rw-r--r--lib/CodeGen/SplitKit.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h
index 622d7e7749..ddef7461dc 100644
--- a/lib/CodeGen/SplitKit.h
+++ b/lib/CodeGen/SplitKit.h
@@ -20,7 +20,6 @@ namespace llvm {
class LiveInterval;
class LiveIntervals;
-class MachineDominatorTree;
class MachineInstr;
class MachineLoop;
class MachineLoopInfo;
@@ -147,7 +146,6 @@ public:
/// Values in parentli_ may map to any number of openli_ values, including 0.
class LiveIntervalMap {
LiveIntervals &lis_;
- MachineDominatorTree &dt_;
// The parent interval is never changed.
const LiveInterval &parentli_;
@@ -174,10 +172,9 @@ class LiveIntervalMap {
public:
LiveIntervalMap(LiveIntervals &lis,
- MachineDominatorTree &dt,
const LiveInterval &parentli,
LiveInterval &li)
- : lis_(lis), dt_(dt), parentli_(parentli), li_(li) {}
+ : lis_(lis), parentli_(parentli), li_(li) {}
/// defValue - define a value in li_ from the parentli_ value VNI and Idx.
/// Idx does not have to be ParentVNI->def, but it must be contained within