diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp index 7f29b8c70b1..f10bf3c4124 100644 --- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -661,7 +661,6 @@ RecordSchedule(const BasicBlock* bb, const SchedulingManager& S) // Erase all except the dummy PHI instructions from mvec, and // pre-allocate create space for the ones we will put back in. mvec.erase(I, mvec.end()); - mvec.reserve(mvec.size() + S.isched.getNumInstructions()); InstrSchedule::const_iterator NIend = S.isched.end(); for (InstrSchedule::const_iterator NI = S.isched.begin(); NI != NIend; ++NI) |

