This repository was archived by the owner on Apr 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -286,8 +286,8 @@ ScheduleTree* insertTopLevelEmptyBand(ScheduleTree* root) {
286
286
287
287
void updateTopLevelContext (detail::ScheduleTree* root, isl::set context) {
288
288
if (!matchOne (tc::polyhedral::domain (tc::polyhedral::context (any ())), root)) {
289
- root->appendChild (ScheduleTree::makeContext (
290
- isl::set::universe (context. get_space ()) , root->detachChildren ()));
289
+ root->appendChild (
290
+ ScheduleTree::makeContext (context, root->detachChildren ()));
291
291
}
292
292
auto contextElem = const_cast <detail::ScheduleTreeContext*>(
293
293
root->child ({0 })->as <detail::ScheduleTreeContext>());
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ detail::ScheduleTree* insertTopLevelEmptyBand(detail::ScheduleTree* root);
109
109
110
110
// Update the top-level context node by intersecting it with "context". The
111
111
// top-level context node must be located directly under the root of the tree.
112
- // If there is no such node, insert one with universe context first.
112
+ // If there is no such node, insert one first.
113
113
void updateTopLevelContext (detail::ScheduleTree* root, isl::set context);
114
114
115
115
// In a tree starting at "root", insert a sequence node with
You can’t perform that action at this time.
0 commit comments