Skip to content

Commit d2979b4

Browse files
committed
initialize ProfileData to nullptr
1 parent fe929d4 commit d2979b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ Value *InstCombinerImpl::SimplifySelectsFeedingBinaryOp(BinaryOperator &I,
13741374
SimplifyQuery Q = SQ.getWithInstruction(&I);
13751375

13761376
Value *Cond, *True = nullptr, *False = nullptr;
1377-
MDNode *ProfileData;
1377+
MDNode *ProfileData = nullptr;
13781378

13791379
// Special-case for add/negate combination. Replace the zero in the negation
13801380
// with the trailing add operand:

0 commit comments

Comments
 (0)