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,9 +499,7 @@ bool X86SpeculativeLoadHardeningPass::runOnMachineFunction(
// Now insert the cmovs to implement the checks.
auto InsertPt = CheckingMBB.begin();
assert(
InsertPt == CheckingMBB.end() ||
!InsertPt->isPHI() &&
assert((InsertPt == CheckingMBB.end() || !InsertPt->isPHI()) &&
"Should never have a PHI in the initial checking block as it "
"always has a single predecessor!");