summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DomTreeUpdater.cpp
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
commit3b6bcf6d672765825abc6ec39b7a852711cee257 (patch)
tree2a05f66c5a9d9767cfd9fefe7073723aa24ca796 /llvm/lib/IR/DomTreeUpdater.cpp
parentbf966f523755c9f72886e90a98c15eae8d248cd8 (diff)
downloadbcm5719-llvm-3b6bcf6d672765825abc6ec39b7a852711cee257.tar.gz
bcm5719-llvm-3b6bcf6d672765825abc6ec39b7a852711cee257.zip
[NFC] Silence Wparentheses warning in DomTreeUpdater, introduced by 336968
llvm-svn: 337001
Diffstat (limited to 'llvm/lib/IR/DomTreeUpdater.cpp')
-rw-r--r--llvm/lib/IR/DomTreeUpdater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/DomTreeUpdater.cpp b/llvm/lib/IR/DomTreeUpdater.cpp
index 51dd24bccfa..9af22b16224 100644
--- a/llvm/lib/IR/DomTreeUpdater.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud