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 | 90e0d3c03ad75fc7b09755120bda0c3a8fc1227f (patch) | |
tree | 740426263669a578a2975e90a7e13c24f05c6b95 /llvm/lib/CodeGen | |
parent | c0ad7bfa629ee144a6743bc30e18cc75b5423999 (diff) | |
download | bcm5719-llvm-90e0d3c03ad75fc7b09755120bda0c3a8fc1227f.tar.gz bcm5719-llvm-90e0d3c03ad75fc7b09755120bda0c3a8fc1227f.zip |
remove unused argument from LiveRanges::join()
llvm-svn: 190169
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/LiveInterval.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/CodeGen/RegisterCoalescer.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp index 3f88236a9ad..e067addc692 100644 --- a/llvm/lib/CodeGen/LiveInterval.cpp +++ b/llvm/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/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp index 7bfb54de374..fefe33a3856 100644 --- a/llvm/lib/CodeGen/RegisterCoalescer.cpp +++ b/llvm/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 |