summaryrefslogtreecommitdiff
path: root/lib/IR
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2018-07-13 14:41:15 +0000
committerErich Keane <erich.keane@intel.com>2018-07-13 14:41:15 +0000
commit8689f3429dd8f073083c1522a8d33b4376650cbb (patch)
tree3f3232981df1164905e5f5e7958390b13f099a27 /lib/IR
parent3a90426c48f1786ddb775c26e57d4adc3e438d3a (diff)
[NFC] Silence Wparentheses warning in DomTreeUpdater, introduced by 336968
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r--lib/IR/DomTreeUpdater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/DomTreeUpdater.cpp b/lib/IR/DomTreeUpdater.cpp
index 51dd24bccfa..9af22b16224 100644
--- a/lib/IR/DomTreeUpdater.cpp
+++ b/lib/IR/DomTreeUpdater.cpp
@@ -56,8 +56,8 @@ bool DomTreeUpdater::isSelfDominance(
bool DomTreeUpdater::applyLazyUpdate(DominatorTree::UpdateKind Kind,
BasicBlock *From, BasicBlock *To) {
- assert(DT ||
- PDT && "Call applyLazyUpdate() when both DT and PDT are nullptrs.");
+ assert((DT || PDT) &&
+ "Call applyLazyUpdate() when both DT and PDT are nullptrs.");
assert(Strategy == DomTreeUpdater::UpdateStrategy::Lazy &&
"Call applyLazyUpdate() with Eager strategy error");
// Analyze pending updates to determine if the update is unnecessary.