mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
LiveVariables: Fix typo and shorten comment
llvm-svn: 264768
This commit is contained in:
parent
210e27d1ff
commit
972ce75cb7
@ -529,10 +529,8 @@ void LiveVariables::runOnInstr(MachineInstr *MI,
|
||||
UseRegs.push_back(MOReg);
|
||||
} else {
|
||||
assert(MO.isDef());
|
||||
// FIXME: We should not remove any dead flags. Howeve the MIPS RDDSP
|
||||
// instruction needs it at the moment: RDDSP gets its implicit use
|
||||
// operands added too late in the processing so InstrEmitter adds an
|
||||
// incorrect dead flag because the uses are not yet visible.
|
||||
// FIXME: We should not remove any dead flags. However the MIPS RDDSP
|
||||
// instruction needs it at the moment: http://llvm.org/PR27116.
|
||||
if (TargetRegisterInfo::isPhysicalRegister(MOReg) &&
|
||||
!MRI->isReserved(MOReg))
|
||||
MO.setIsDead(false);
|
||||
|
Loading…
Reference in New Issue
Block a user