mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 12:36:30 +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. llvm-svn: 107725
This commit is contained in:
parent
b9e1c33054
commit
44c333e87c
@ -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…
Reference in New Issue
Block a user