summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-10-10 12:21:52 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-10-10 12:21:52 +0000
commit788ba15113276a5bde7a8a0c92230d8cf0aeb053 (patch)
treeedc795e799e906aeba043dfa7ff16809a8f29813 /llvm/lib/Target
parent0891366571b2cf3e4e27d40af228fe5bd9e4e755 (diff)
downloadbcm5719-llvm-788ba15113276a5bde7a8a0c92230d8cf0aeb053.tar.gz
bcm5719-llvm-788ba15113276a5bde7a8a0c92230d8cf0aeb053.zip
Fix -Wparentheses warning. NFCI.
llvm-svn: 374326
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
index aff379585f2..f06afdbcea9 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@ -861,8 +861,8 @@ SDValue WebAssemblyTargetLowering::LowerReturn(
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");
OpenPOWER on IntegriCloud