[SLP] nullptr'ize initial value in findBuildAggregate(), NFC.
Initial value of V is sett nullptr, as it is not used. llvm-svn: 295642
This commit is contained in:
@@ -4614,7 +4614,7 @@ static bool findBuildVector(InsertElementInst *FirstInsertElem,
|
||||
static bool findBuildAggregate(InsertValueInst *IV,
|
||||
SmallVectorImpl<Value *> &BuildVector,
|
||||
SmallVectorImpl<Value *> &BuildVectorOpds) {
|
||||
Value *V = IV;
|
||||
Value *V = nullptr;
|
||||
do {
|
||||
BuildVector.push_back(IV);
|
||||
BuildVectorOpds.push_back(IV->getInsertedValueOperand());
|
||||
|
||||
Reference in New Issue
Block a user