Fixed the warning introduced by r305625 to make ubuntu-gcc7.1-werror bot green.

llvm-svn: 305640
This commit is contained in:
Galina Kistanova 2017-06-17 21:05:28 +00:00
parent b70ddd8901
commit 90e4c3f357
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}