mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 01:38:26 +00:00
Track defs for all aliases in NEONMoveFix.
This means that an instruction defining an S register will affect the domain of the parent D register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ee94e8297e
commit
fca3a25fed
@ -105,8 +105,8 @@ bool NEONMoveFixPass::InsertMoves(MachineBasicBlock &MBB) {
|
||||
unsigned MOReg = MO.getReg();
|
||||
|
||||
Defs[MOReg] = MI;
|
||||
// Catch subregs as well.
|
||||
for (const unsigned *R = TRI->getSubRegisters(MOReg); *R; ++R)
|
||||
// Catch aliases as well.
|
||||
for (const unsigned *R = TRI->getAliasSet(MOReg); *R; ++R)
|
||||
Defs[*R] = MI;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user