Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 956495e

Browse files
author
Sven Verdoolaege
committed
CodegenStatementContext: reuse iteratorMap()
1 parent 96ebfa3 commit 956495e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/tc/core/polyhedral/cuda/codegen.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ struct CodegenStatementContext : CodegenContext {
8888
return this->iteratorMaps.at(astNodeId);
8989
}
9090
isl::id statementId() const {
91-
return this->iteratorMaps.at(astNodeId).get_tuple_id(isl::dim_type::out);
91+
return this->iteratorMap().get_tuple_id(isl::dim_type::out);
9292
}
9393
isl::set domain() const {
94-
return isl::map::from(this->iteratorMaps.at(astNodeId)).range();
94+
return isl::map::from(this->iteratorMap()).range();
9595
}
9696
std::vector<Scop::PromotionInfo> activePromotions() const {
9797
std::vector<Scop::PromotionInfo> result;

0 commit comments

Comments
 (0)