From: Simon Pilgrim Date: Fri, 25 Jan 2019 11:38:40 +0000 (+0000) Subject: Fix gcc -Wparentheses warning. NFCI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=850499971e03a3c2c87c9e8d148d41bed707c17a;p=llvm Fix gcc -Wparentheses warning. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352193 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64InstructionSelector.cpp b/lib/Target/AArch64/AArch64InstructionSelector.cpp index 7930680f696..86bb5bba248 100644 --- a/lib/Target/AArch64/AArch64InstructionSelector.cpp +++ b/lib/Target/AArch64/AArch64InstructionSelector.cpp @@ -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; };