mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[MachineInstrBundle] Actually set the PartialDeadDef flag only when the register
is defined! The users were checking the proper thing (Defined + PartialDeadDef), but the information may have been wrong for other use cases, so fix that. llvm-svn: 267641
This commit is contained in:
parent
e5b08e124c
commit
1c43af45df
@ -335,7 +335,7 @@ MachineOperandIteratorBase::analyzePhysReg(unsigned Reg,
|
||||
if (AllDefsDead) {
|
||||
if (PRI.FullyDefined || PRI.Clobbered)
|
||||
PRI.DeadDef = true;
|
||||
else
|
||||
else if (PRI.Defined)
|
||||
PRI.PartialDeadDef = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user