[Polly] Update map passed to SCEVParameterReweriter.

The type of the map the SCEVParameterRewriter takes has been changed in
4635f6050b.

Update the single use in polly to use SCEV* as type of the values.
This commit is contained in:
Florian Hahn 2020-09-18 11:40:45 +01:00
parent 93fd30bac3
commit 762fbbe536
1 changed files with 3 additions and 1 deletions

View File

@ -313,7 +313,9 @@ Value *IslExprBuilder::createAccessAddress(isl_ast_expr *Expr) {
const SCEV *DimSCEV = SAI->getDimensionSize(u);
llvm::ValueToValueMap Map(GlobalMap.begin(), GlobalMap.end());
llvm::ValueToSCEVMapTy Map;
for (auto &KV : GlobalMap)
Map[KV.first] = SE.getSCEV(KV.second);
DimSCEV = SCEVParameterRewriter::rewrite(DimSCEV, SE, Map);
Value *DimSize =
expandCodeFor(S, SE, DL, "polly", DimSCEV, DimSCEV->getType(),