Skip to content

Commit c59d55c

Browse files
committed
!fixup zero-initialze local variable
1 parent 74b2f35 commit c59d55c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ bool LoopVectorizationLegality::isVectorizableEarlyExitLoop() {
16651665

16661666
// Keep a record of all the exiting blocks.
16671667
SmallVector<const SCEVPredicate *, 4> Predicates;
1668-
BasicBlock *SingleUncountableExitingBlock;
1668+
BasicBlock *SingleUncountableExitingBlock = nullptr;
16691669
for (BasicBlock *BB : ExitingBlocks) {
16701670
const SCEV *EC =
16711671
PSE.getSE()->getPredicatedExitCount(TheLoop, BB, &Predicates);

0 commit comments

Comments
 (0)