forked from OSchip/llvm-project
nullptr initialize variables, spotted on msan bots.
This commit is contained in:
parent
f7062f6dfb
commit
2d26a72f82
|
@ -424,8 +424,8 @@ static bool checkIVUsers(FlattenInfo &FI) {
|
|||
|
||||
LLVM_DEBUG(dbgs() << "Found use of inner induction variable: "; U->dump());
|
||||
|
||||
Value *MatchedMul;
|
||||
Value *MatchedItCount;
|
||||
Value *MatchedMul = nullptr;
|
||||
Value *MatchedItCount = nullptr;
|
||||
bool IsAdd = match(U, m_c_Add(m_Specific(FI.InnerInductionPHI),
|
||||
m_Value(MatchedMul))) &&
|
||||
match(MatchedMul, m_c_Mul(m_Specific(FI.OuterInductionPHI),
|
||||
|
|
Loading…
Reference in New Issue