mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 12:19:53 +00:00
Fixed the warning introduced by r305625 to make ubuntu-gcc7.1-werror bot green.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305640 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f54df2f626
commit
77d32e8e48
@ -620,7 +620,7 @@ static unsigned scavengeVReg(MachineRegisterInfo &MRI, RegScavenger &RS,
|
||||
if (MO.isDef()) {
|
||||
const MachineInstr &MI = *MO.getParent();
|
||||
if (!MI.readsRegister(VReg, &TRI)) {
|
||||
assert(!RealDef || RealDef == &MI &&
|
||||
assert((!RealDef || RealDef == &MI) &&
|
||||
"Can have at most one definition which is not a redefinition");
|
||||
RealDef = &MI;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user