1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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 8ebe1b24bd
commit ff79693971

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.