mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-23 02:32:11 +00:00
Correct comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49913 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
883d260045
commit
a8f720d695
@ -466,8 +466,8 @@ SimpleRegisterCoalescing::UpdateRegDefsUses(unsigned SrcReg, unsigned DstReg,
|
||||
O.setSubReg(0);
|
||||
} else {
|
||||
// Sub-register indexes goes from small to large. e.g.
|
||||
// RAX: 0 -> AL, 1 -> AH, 2 -> AX, 3 -> EAX
|
||||
// EAX: 0 -> AL, 1 -> AH, 2 -> AX
|
||||
// RAX: 1 -> AL, 2 -> AX, 3 -> EAX
|
||||
// EAX: 1 -> AL, 2 -> AX
|
||||
// So RAX's sub-register 2 is AX, RAX's sub-regsiter 3 is EAX, whose
|
||||
// sub-register 2 is also AX.
|
||||
if (SubIdx && OldSubIdx && SubIdx != OldSubIdx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user