From d9f6077db05c059d6f24949e18ff13f94dd4ba56 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 26 Feb 2023 10:40:43 +0000 Subject: [PATCH] [X86] Fix ambiguous operator ordering to stop -Wparentheses warning. NFCI. --- llvm/lib/Target/X86/X86ISelLowering.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.7.4