Add parentheses to silence warning

This commit is contained in:
Bill Wendling 2019-12-20 12:47:38 -08:00
parent dedad08ee8
commit dc03b960d0

View File

@ -831,8 +831,8 @@ AArch64LoadStoreOpt::mergePairedInsns(MachineBasicBlock::iterator I,
for (auto &MOP : MI.operands()) {
if (MOP.isReg() && !MOP.isDebug() && MOP.getReg() &&
TRI->regsOverlap(MOP.getReg(), RegToRename)) {
assert(MOP.isImplicit() ||
(MOP.isRenamable() && !MOP.isEarlyClobber()) &&
assert((MOP.isImplicit() ||
(MOP.isRenamable() && !MOP.isEarlyClobber())) &&
"Need renamable operands");
MOP.setReg(GetMatchingSubReg(MOP.getReg()));
}