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

Commit 7a789ee

Browse files
author
Sven Verdoolaege
committed
Scop::getParameterValues: fix comment
In particular, the isl identifiers do not have a user pointer. The comment appears to have been incorrect even at the point when it was introduced in prehistory.
1 parent 3aac69f commit 7a789ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tc/core/polyhedral/scop.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,9 @@ isl::set Scop::makeContextFromInputs(
327327
std::vector<long> Scop::getParameterValues(isl::set context) const {
328328
IslParamValueMap pvm = extractParamValueMap(context);
329329

330-
// Scop holds a vector of Variables, which also appear as user pointers
331-
// of the ids. Iterate over parameters in order, checking if the
332-
// ParamValueMap contains an id whose user pointer corresponds to a
330+
// Scop holds a vector of Variables.
331+
// Iterate over parameters in order, checking if the
332+
// ParamValueMap contains an id whose name corresponds to that
333333
// Variable and push respective parameter values.
334334
std::vector<long> paramValues;
335335
for (auto const& param : halide.params) {

0 commit comments

Comments
 (0)