Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VPlan] Fix stack-use-after-scope in VPInstruction::generate (NFC).
Fix stack-use-after-scope introduced in 0678e20 by pulling out the vector to a dedicated variable. Should fix ASan/MSan failures, including https://lab.llvm.org/buildbot/#/builders/169/builds/6111.
- Loading branch information
Just for completeness (reversal is temporary): a reverse iterator over the predecessors could have been used instead.