summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-06-25 11:19:05 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-06-25 11:19:05 +0000
commit5b6b500687374c2e51bf8eeb2f7f776cc173cc31 (patch)
treef77ea120acd5d9defffb14a079c4031b8a718915
parente2fc89fdd66bc1beb270fb9c1f4ffc4551fbff73 (diff)
downloadbcm5719-llvm-5b6b500687374c2e51bf8eeb2f7f776cc173cc31.tar.gz
bcm5719-llvm-5b6b500687374c2e51bf8eeb2f7f776cc173cc31.zip
Fix -Wparentheses gcc warning. NFCI.
llvm-svn: 335451
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index dde49b2f1e1..7f7f097b8f3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -1950,7 +1950,7 @@ SDValue DAGCombiner::foldBinOpIntoSelect(SDNode *BO) {
}
static SDValue foldAddSubBoolOfMaskedVal(SDNode *N, SelectionDAG &DAG) {
- assert(N->getOpcode() == ISD::ADD || N->getOpcode() == ISD::SUB &&
+ assert((N->getOpcode() == ISD::ADD || N->getOpcode() == ISD::SUB) &&
"Expecting add or sub");
// Match a constant operand and a zext operand for the math instruction:
OpenPOWER on IntegriCloud