Fix gcc -Wparentheses warning. NFCI.

llvm-svn: 352193
This commit is contained in:
Simon Pilgrim 2019-01-25 11:38:40 +00:00
parent 1f4b979483
commit dea6174b0b
1 changed files with 4 additions and 4 deletions

View File

@ -490,10 +490,10 @@ static bool selectCopy(MachineInstr &I, const TargetInstrInfo &TII,
auto CheckCopy = [&]() {
// If we have a bitcast or something, we can't have physical registers.
assert(
I.isCopy() ||
(!TargetRegisterInfo::isPhysicalRegister(I.getOperand(0).getReg()) &&
!TargetRegisterInfo::isPhysicalRegister(I.getOperand(1).getReg())) &&
"No phys reg on generic operator!");
(I.isCopy() ||
(!TargetRegisterInfo::isPhysicalRegister(I.getOperand(0).getReg()) &&
!TargetRegisterInfo::isPhysicalRegister(I.getOperand(1).getReg()))) &&
"No phys reg on generic operator!");
assert(KnownValid || isValidCopy(I, DstRegBank, MRI, TRI, RBI));
return true;
};