[SCEV] Use auto instead of full iterator type; NFCI.
llvm-svn: 247919
This commit is contained in:
parent
ab39039a2f
commit
7a9f8bb995
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue