From: Simon Pilgrim Date: Sun, 26 Feb 2023 10:40:43 +0000 (+0000) Subject: [X86] Fix ambiguous operator ordering to stop -Wparentheses warning. NFCI. X-Git-Tag: upstream/17.0.6~16477 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9f6077db05c059d6f24949e18ff13f94dd4ba56;p=platform%2Fupstream%2Fllvm.git [X86] Fix ambiguous operator ordering to stop -Wparentheses warning. NFCI. --- diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 53a276e..6188d1d 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -16960,8 +16960,7 @@ static SDValue splitAndLowerShuffle(const SDLoc &DL, MVT VT, SDValue V1, // Because the lowering happens after all combining takes place, we need to // manually combine these blend masks as much as possible so that we create // a minimal number of high-level vector shuffle nodes. - - assert(!SimpleOnly || (!UseHiV1 && !UseHiV2) && "Shuffle won't be simple"); + assert((!SimpleOnly || (!UseHiV1 && !UseHiV2)) && "Shuffle isn't simple"); // First try just blending the halves of V1 or V2. if (!UseLoV1 && !UseHiV1 && !UseLoV2 && !UseHiV2)