[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.
|
// the map.
|
||||||
SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end());
|
SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end());
|
||||||
const SCEV *Key = SE.getMulExpr(MulOps);
|
const SCEV *Key = SE.getMulExpr(MulOps);
|
||||||
std::pair<DenseMap<const SCEV *, APInt>::iterator, bool> Pair =
|
auto Pair = M.insert(std::make_pair(Key, NewScale));
|
||||||
M.insert(std::make_pair(Key, NewScale));
|
|
||||||
if (Pair.second) {
|
if (Pair.second) {
|
||||||
NewOps.push_back(Pair.first->first);
|
NewOps.push_back(Pair.first->first);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue