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

Commit e6e76bc

Browse files
author
Sven Verdoolaege
committed
memory_promotion.cc: fix typo in variable name
1 parent 0a938a8 commit e6e76bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tc/core/polyhedral/memory_promotion.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,14 +497,14 @@ ScheduleTree* insertCopiesUnder(
497497
isl::set::universe(promotionSpace.domain().unwrap().domain());
498498
auto arrayId =
499499
promotionSpace.domain().unwrap().get_tuple_id(isl::dim_type::out);
500-
auto approximattedRead =
500+
auto approximatedRead =
501501
isl::map(
502502
scheduleUniverse,
503503
group.approximateFootprint().set_tuple_id(arrayId).intersect(
504504
tensorElements))
505505
.wrap();
506-
approximattedRead = isl::map(approximattedRead, promotedFootprint).wrap();
507-
auto readExtension = extension.intersect_range(approximattedRead)
506+
approximatedRead = isl::map(approximatedRead, promotedFootprint).wrap();
507+
auto readExtension = extension.intersect_range(approximatedRead)
508508
.set_tuple_id(isl::dim_type::out, readId);
509509
auto writtenElements =
510510
isl::map(

0 commit comments

Comments
 (0)