diff options
author | Matthias Braun <matze@braunis.de> | 2013-10-10 21:28:43 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2013-10-10 21:28:43 +0000 |
commit | 13ddb7cd65f70e6c03f62b5058f7140034649170 (patch) | |
tree | 5ee58491600ff51c5a39fcb5e71a4ff7ccfc4d44 /llvm/lib/CodeGen/LiveRangeCalc.cpp | |
parent | 1965bfa4c73442261c3d4a1742ab6aa509c9d510 (diff) | |
download | bcm5719-llvm-13ddb7cd65f70e6c03f62b5058f7140034649170.tar.gz bcm5719-llvm-13ddb7cd65f70e6c03f62b5058f7140034649170.zip |
Rename LiveRange to LiveInterval::Segment
The Segment struct contains a single interval; multiple instances of this struct
are used to construct a live range, but the struct is not a live range by
itself.
llvm-svn: 192392
Diffstat (limited to 'llvm/lib/CodeGen/LiveRangeCalc.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveRangeCalc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveRangeCalc.cpp b/llvm/lib/CodeGen/LiveRangeCalc.cpp index dede490d91b..bd9c8d03019 100644 --- a/llvm/lib/CodeGen/LiveRangeCalc.cpp +++ b/llvm/lib/CodeGen/LiveRangeCalc.cpp @@ -355,9 +355,9 @@ void LiveRangeCalc::updateSSA() { // Add liveness since updateLiveIns now skips this node. if (I->Kill.isValid()) - I->LI->addRange(LiveRange(Start, I->Kill, VNI)); + I->LI->addSegment(LiveInterval::Segment(Start, I->Kill, VNI)); else { - I->LI->addRange(LiveRange(Start, End, VNI)); + I->LI->addSegment(LiveInterval::Segment(Start, End, VNI)); LOP = LiveOutPair(VNI, Node); } } else if (IDomValue.first) { |