Fix buildbot breakages from r317503. Add parentheses to assignment when using result as a condition.

llvm-svn: 317508
This commit is contained in:
Graham Yiu 2017-11-06 21:04:19 +00:00
parent 57f96ac6dc
commit 52a52a6cab
1 changed files with 2 additions and 2 deletions

View File

@ -8139,10 +8139,10 @@ SDValue PPCTargetLowering::LowerVECTOR_SHUFFLE(SDValue Op,
if (Subtarget.hasP9Altivec()) {
SDValue NewISDNode;
if (NewISDNode = lowerToVINSERTH(SVOp, DAG))
if ((NewISDNode = lowerToVINSERTH(SVOp, DAG)))
return NewISDNode;
if (NewISDNode = lowerToVINSERTB(SVOp, DAG))
if ((NewISDNode = lowerToVINSERTB(SVOp, DAG)))
return NewISDNode;
}