diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-18 20:29:53 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-18 20:29:53 +0000 |
commit | e98030ad58d349392248eff2ffed5959a9c66d70 (patch) | |
tree | a9ead94529ad1556299fc73d8425024e1528c5ae /llvm/lib/CodeGen/SplitKit.h | |
parent | 50377a366fc7898b3b37b44420cb3255fd517b76 (diff) | |
download | bcm5719-llvm-e98030ad58d349392248eff2ffed5959a9c66d70.tar.gz bcm5719-llvm-e98030ad58d349392248eff2ffed5959a9c66d70.zip |
Thinking about it, we don't need MachineDominatorTree after all. The DomValue
map discovers the iterated dominance frontier for free.
llvm-svn: 111400
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.h')
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h index 622d7e77496..ddef7461dc3 100644 --- a/llvm/lib/CodeGen/SplitKit.h +++ b/llvm/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 |