mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Pacify gcc-4.3, which suggests explicit braces here
to avoid an ambiguous else. llvm-svn: 71924
This commit is contained in:
parent
fa57451cf5
commit
a13774ee79
@ -345,7 +345,7 @@ MachineVerifier::visitMachineOperand(const MachineOperand *MO, unsigned MONum)
|
||||
addRegWithSubRegs(regsKilled, Reg);
|
||||
}
|
||||
// Explicit use of a dead register.
|
||||
if (!MO->isImplicit() && !regsLive.count(Reg))
|
||||
if (!MO->isImplicit() && !regsLive.count(Reg)) {
|
||||
if (TargetRegisterInfo::isPhysicalRegister(Reg)) {
|
||||
// Reserved registers may be used even when 'dead'.
|
||||
if (!isReserved(Reg))
|
||||
@ -360,6 +360,7 @@ MachineVerifier::visitMachineOperand(const MachineOperand *MO, unsigned MONum)
|
||||
else if (MI->getOpcode() != TargetInstrInfo::PHI)
|
||||
MInfo.vregsLiveIn.insert(std::make_pair(Reg, MI));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Register defined.
|
||||
// TODO: verify that earlyclobber ops are not used.
|
||||
|
Loading…
Reference in New Issue
Block a user