[X86] Fix ambiguous operator ordering to stop -Wparentheses warning. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 26 Feb 2023 10:40:43 +0000 (10:40 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 26 Feb 2023 10:40:43 +0000 (10:40 +0000)
llvm/lib/Target/X86/X86ISelLowering.cpp

index 53a276e..6188d1d 100644 (file)
@@ -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)