forked from OSchip/llvm-project
[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:
parent
93fd30bac3
commit
762fbbe536
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue