mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
When coalescing an EXTRACT_SUBREG and the dst register is a physical register,
the source register will be coalesced to the super register of the LHS. Properly merge in the live ranges of the resulting coalesced interval that were part of the original source interval to the live interval of the super-register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -389,7 +389,7 @@ void LiveInterval::MergeRangesInAsValue(const LiveInterval &RHS,
|
||||
/// current interval, but only if the overlapping LiveRanges have the
|
||||
/// specified value number.
|
||||
void LiveInterval::MergeValueInAsValue(const LiveInterval &RHS,
|
||||
VNInfo *RHSValNo, VNInfo *LHSValNo) {
|
||||
const VNInfo *RHSValNo, VNInfo *LHSValNo) {
|
||||
// TODO: Make this more efficient.
|
||||
iterator InsertPos = begin();
|
||||
for (const_iterator I = RHS.begin(), E = RHS.end(); I != E; ++I) {
|
||||
|
Reference in New Issue
Block a user