forked from OSchip/llvm-project
[VPlan] Fix sanitizer problem with insertBefore.
llvm-svn: 334943
This commit is contained in:
parent
118099a62c
commit
3bcff3662c
|
@ -221,8 +221,8 @@ void VPRegionBlock::execute(VPTransformState *State) {
|
|||
}
|
||||
|
||||
void VPRecipeBase::insertBefore(VPRecipeBase *InsertPos) {
|
||||
InsertPos->getParent()->getRecipeList().insert(InsertPos->getIterator(),
|
||||
this);
|
||||
Parent = InsertPos->getParent();
|
||||
Parent->getRecipeList().insert(InsertPos->getIterator(), this);
|
||||
}
|
||||
|
||||
void VPInstruction::generateInstruction(VPTransformState &State,
|
||||
|
|
Loading…
Reference in New Issue