use SDValue bool operator; NFCI

llvm-svn: 240064
This commit is contained in:
Sanjay Patel 2015-06-18 21:44:31 +00:00
parent c3e018e6fd
commit cf5c220da5
1 changed files with 2 additions and 3 deletions

View File

@ -11056,9 +11056,8 @@ static SDValue LowerINSERT_SUBVECTOR(SDValue Op, const X86Subtarget *Subtarget,
if (auto *Idx2 = dyn_cast<ConstantSDNode>(Vec.getOperand(2))) {
if (Idx2->getZExtValue() == 0) {
SDValue Ops[] = { SubVec2, SubVec };
SDValue LD = EltsFromConsecutiveLoads(OpVT, Ops, dl, DAG, false);
if (LD.getNode())
return LD;
if (SDValue Ld = EltsFromConsecutiveLoads(OpVT, Ops, dl, DAG, false))
return Ld;
}
}
}