diff options
author | Matthias Braun <matze@braunis.de> | 2013-09-06 16:44:29 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2013-09-06 16:44:29 +0000 |
commit | 1920156982643a1c5c28af6f4684580b516eb597 (patch) | |
tree | 9960ff60fe2f3f82c40d6a727df04bae786178fb | |
parent | 2d5558cbaecfcaea72b80a725417dde6ed80ee04 (diff) | |
download | llvm-1920156982643a1c5c28af6f4684580b516eb597.tar.gz llvm-1920156982643a1c5c28af6f4684580b516eb597.tar.bz2 llvm-1920156982643a1c5c28af6f4684580b516eb597.tar.xz |
remove unused argument from LiveRanges::join()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190169 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 3 | ||||
-rw-r--r-- | lib/CodeGen/LiveInterval.cpp | 3 | ||||
-rw-r--r-- | lib/CodeGen/RegisterCoalescer.cpp | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 345f0dddf5..24aad4f67c 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -370,8 +370,7 @@ namespace llvm { void join(LiveInterval &Other, const int *ValNoAssignments, const int *RHSValNoAssignments, - SmallVectorImpl<VNInfo *> &NewVNInfo, - MachineRegisterInfo *MRI); + SmallVectorImpl<VNInfo *> &NewVNInfo); /// True iff this live range is a single segment that lies between the /// specified boundaries, exclusively. Vregs live across a backedge are not diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 3f88236a9a..e067addc69 100644 --- a/lib/CodeGen/LiveInterval.cpp +++ b/lib/CodeGen/LiveInterval.cpp @@ -415,8 +415,7 @@ void LiveInterval::removeValNo(VNInfo *ValNo) { void LiveInterval::join(LiveInterval &Other, const int *LHSValNoAssignments, const int *RHSValNoAssignments, - SmallVectorImpl<VNInfo *> &NewVNInfo, - MachineRegisterInfo *MRI) { + SmallVectorImpl<VNInfo *> &NewVNInfo) { verify(); // Determine if any of our live range values are mapped. This is uncommon, so diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp index 7bfb54de37..fefe33a385 100644 --- a/lib/CodeGen/RegisterCoalescer.cpp +++ b/lib/CodeGen/RegisterCoalescer.cpp @@ -1999,8 +1999,7 @@ bool RegisterCoalescer::joinVirtRegs(CoalescerPair &CP) { LIS->shrinkToUses(&LIS->getInterval(ShrinkRegs.pop_back_val())); // Join RHS into LHS. - LHS.join(RHS, LHSVals.getAssignments(), RHSVals.getAssignments(), NewVNInfo, - MRI); + LHS.join(RHS, LHSVals.getAssignments(), RHSVals.getAssignments(), NewVNInfo); // Kill flags are going to be wrong if the live ranges were overlapping. // Eventually, we should simply clear all kill flags when computing live |