[llvm] r374326 - Fix -Wparentheses warning. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 05:21:52 PDT 2019
Author: rksimon
Date: Thu Oct 10 05:21:52 2019
New Revision: 374326
URL: http://llvm.org/viewvc/llvm-project?rev=374326&view=rev
Log:
Fix -Wparentheses warning. NFCI.
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp?rev=374326&r1=374325&r2=374326&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp Thu Oct 10 05:21:52 2019
@@ -861,8 +861,8 @@ SDValue WebAssemblyTargetLowering::Lower
const SmallVectorImpl<ISD::OutputArg> &Outs,
const SmallVectorImpl<SDValue> &OutVals, const SDLoc &DL,
SelectionDAG &DAG) const {
- assert(Subtarget->hasMultivalue() ||
- Outs.size() <= 1 && "MVP WebAssembly can only return up to one value");
+ assert((Subtarget->hasMultivalue() || Outs.size() <= 1) &&
+ "MVP WebAssembly can only return up to one value");
if (!callingConvSupported(CallConv))
fail(DL, DAG, "WebAssembly doesn't support non-C calling conventions");
More information about the llvm-commits
mailing list