llvm.org GIT mirror llvm / 004df2a
X86DAGToDAGISel::tryVPTESTM - fix uninitialized variable warning. NFCI. findBroadcastedOp should always initialize the value if it returns true but static-analyzer isn't great at recognising this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360037 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 1 year, 5 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
37293729 bool FoldedBCast = false;
37303730 if (!FoldedLoad && CanFoldLoads &&
37313731 (CmpSVT == MVT::i32 || CmpSVT == MVT::i64)) {
3732 SDNode *ParentNode;
3732 SDNode *ParentNode = nullptr;
37333733 if ((Load = findBroadcastedOp(Src1, CmpSVT, ParentNode))) {
37343734 FoldedBCast = tryFoldLoad(Root, ParentNode, Load, Tmp0,
37353735 Tmp1, Tmp2, Tmp3, Tmp4);