[X86][InstCombine] Avoid -Wparentheses warnings introduced in D145220, NFCI
authorShengchen Kan <shengchen.kan@intel.com>
Thu, 6 Apr 2023 05:49:15 +0000 (13:49 +0800)
committerShengchen Kan <shengchen.kan@intel.com>
Thu, 6 Apr 2023 05:50:54 +0000 (13:50 +0800)
llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp

index 1abe1e8..e46fc03 100644 (file)
@@ -1620,9 +1620,8 @@ static Value *simplifyTernarylogic(const IntrinsicInst &II,
     break;
   }
 
-  assert(Res.first == nullptr ||
-         Res.second == Imm &&
-             "Simplification of ternary logic does not verify!");
+  assert((Res.first == nullptr || Res.second == Imm) &&
+         "Simplification of ternary logic does not verify!");
   return Res.first;
 }