summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-02-18 01:50:52 +0000
committerMatthias Braun <matze@braunis.de>2015-02-18 01:50:52 +0000
commit11042c8523ecc3f4762829af81463cd28f132f07 (patch)
tree4a02e9bc0c1dd31d0af6c7004cfc099783d9bd5b /llvm/lib/CodeGen/LiveInterval.cpp
parent4153f4702655d39aa70a653c2a944e392039f251 (diff)
downloadbcm5719-llvm-11042c8523ecc3f4762829af81463cd28f132f07.tar.gz
bcm5719-llvm-11042c8523ecc3f4762829af81463cd28f132f07.zip
LiveRangeCalc: Rename some parameters from kill to use, NFC.
Those parameters did not necessarily describe kill points but just uses. llvm-svn: 229601
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveInterval.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp
index 58180577e7d..fd7516dfd47 100644
--- a/llvm/lib/CodeGen/LiveInterval.cpp
+++ b/llvm/lib/CodeGen/LiveInterval.cpp
@@ -88,18 +88,18 @@ public:
return VNI;
}
- VNInfo *extendInBlock(SlotIndex StartIdx, SlotIndex Kill) {
+ VNInfo *extendInBlock(SlotIndex StartIdx, SlotIndex Use) {
if (segments().empty())
return nullptr;
iterator I =
- impl().findInsertPos(Segment(Kill.getPrevSlot(), Kill, nullptr));
+ impl().findInsertPos(Segment(Use.getPrevSlot(), Use, nullptr));
if (I == segments().begin())
return nullptr;
--I;
if (I->end <= StartIdx)
return nullptr;
- if (I->end < Kill)
- extendSegmentEndTo(I, Kill);
+ if (I->end < Use)
+ extendSegmentEndTo(I, Use);
return I->valno;
}
OpenPOWER on IntegriCloud