Add parens to silence Wparentheses warning, introduced by 336990

llvm-svn: 337002
This commit is contained in:
Erich Keane 2018-07-13 14:43:20 +00:00
parent 3b6bcf6d67
commit ac8cb22ad5

View File

@ -499,11 +499,9 @@ bool X86SpeculativeLoadHardeningPass::runOnMachineFunction(
// Now insert the cmovs to implement the checks.
auto InsertPt = CheckingMBB.begin();
assert(
InsertPt == CheckingMBB.end() ||
!InsertPt->isPHI() &&
"Should never have a PHI in the initial checking block as it "
"always has a single predecessor!");
assert((InsertPt == CheckingMBB.end() || !InsertPt->isPHI()) &&
"Should never have a PHI in the initial checking block as it "
"always has a single predecessor!");
// We will wire each cmov to each other, but need to start with the
// incoming pred state.