mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
Pacify gcc-4.3, which suggests explicit braces here
to avoid an ambiguous else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71924 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f8eac02fc1
commit
e556720ea8
@ -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