diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-11 16:22:38 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-11 16:22:38 +0000 |
commit | 2cd5ff80033452b1c7569ce46443c240a9a4d573 (patch) | |
tree | b4f0c0110b0bb7b14eee8a71cfa81faa0e4f6b57 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 1761824d72fd5d4c97a444559cd96e8a0064a45b (diff) | |
download | bcm5719-llvm-2cd5ff80033452b1c7569ce46443c240a9a4d573.tar.gz bcm5719-llvm-2cd5ff80033452b1c7569ce46443c240a9a4d573.zip |
Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size.
llvm-svn: 186098
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 1d5e5fb7195..69beaafbe0f 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -1380,7 +1380,7 @@ const SCEV *ScalarEvolution::getAnyExtendExpr(const SCEV *Op, /// static bool CollectAddOperandsWithScales(DenseMap<const SCEV *, APInt> &M, - SmallVector<const SCEV *, 8> &NewOps, + SmallVectorImpl<const SCEV *> &NewOps, APInt &AccumulatedConstant, const SCEV *const *Ops, size_t NumOperands, const APInt &Scale, |