mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
Shrink a SmallVector with a known maximum size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116278 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
568a63db96
commit
8de206c101
@ -1563,7 +1563,7 @@ void MPPassManager::addLowerLevelRequiredPass(Pass *P, Pass *RequiredPass) {
|
||||
FPP->add(RequiredPass);
|
||||
|
||||
// Register P as the last user of RequiredPass.
|
||||
SmallVector<Pass *, 12> LU;
|
||||
SmallVector<Pass *, 1> LU;
|
||||
LU.push_back(RequiredPass);
|
||||
FPP->setLastUser(LU, P);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user