[SCEV] Use auto instead of full iterator type; NFCI.

llvm-svn: 247919
This commit is contained in:
Sanjoy Das 2015-09-17 19:04:09 +00:00
parent ab39039a2f
commit 7a9f8bb995
1 changed files with 1 additions and 2 deletions

View File

@ -1878,8 +1878,7 @@ CollectAddOperandsWithScales(DenseMap<const SCEV *, APInt> &M,
// the map.
SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end());
const SCEV *Key = SE.getMulExpr(MulOps);
std::pair<DenseMap<const SCEV *, APInt>::iterator, bool> Pair =
M.insert(std::make_pair(Key, NewScale));
auto Pair = M.insert(std::make_pair(Key, NewScale));
if (Pair.second) {
NewOps.push_back(Pair.first->first);
} else {