From 71aafce117e9d63b03bae301f7fdc66291877382 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 2 May 2014 21:28:49 +0000 Subject: =?UTF-8?q?Satisfy=20GCC's=20urgent=20need=20for=20parentheses=20a?= =?UTF-8?q?round=20=E2=80=98&&=E2=80=99=20within=20=E2=80=98||=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207871 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen') diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 7058c4e95a..2c584350a7 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -2924,8 +2924,8 @@ SDValue SelectionDAG::FoldConstantArithmetic(unsigned Opcode, EVT VT, } } - assert((Scalar1 && Scalar2) || - VT.getVectorNumElements() == Outputs.size() && "No scalar or vector!"); + assert((Scalar1 && Scalar2) || (VT.getVectorNumElements() == Outputs.size() && + "Expected a scalar or vector!")); // Handle the scalar case first. if (!VT.isVector()) -- cgit v1.2.3