mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56037 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1029,10 +1029,10 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) {
|
|||||||
mri_->getRegClass(isExtSubReg ? SrcReg : DstReg);
|
mri_->getRegClass(isExtSubReg ? SrcReg : DstReg);
|
||||||
if (isExtSubReg) {
|
if (isExtSubReg) {
|
||||||
RealDstReg = getMatchingSuperReg(DstReg, SubIdx, RC, tri_);
|
RealDstReg = getMatchingSuperReg(DstReg, SubIdx, RC, tri_);
|
||||||
assert(RealDstReg && "Invalid extra_subreg instruction!");
|
assert(RealDstReg && "Invalid extract_subreg instruction!");
|
||||||
} else {
|
} else {
|
||||||
RealSrcReg = getMatchingSuperReg(SrcReg, SubIdx, RC, tri_);
|
RealSrcReg = getMatchingSuperReg(SrcReg, SubIdx, RC, tri_);
|
||||||
assert(RealSrcReg && "Invalid extra_subreg instruction!");
|
assert(RealSrcReg && "Invalid extract_subreg instruction!");
|
||||||
}
|
}
|
||||||
|
|
||||||
// For this type of EXTRACT_SUBREG, conservatively
|
// For this type of EXTRACT_SUBREG, conservatively
|
||||||
|
Reference in New Issue
Block a user