[PATCH] D18822: [Polly][FIX] Adjust execution context of hoisted loads wrt. error domains
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 7 06:56:52 PDT 2016
2016-04-07 15:52 GMT+02:00 Tobias Grosser <tobias at grosser.es>:
>> I don't know. I just noticed I (usually) do not use the __isl_* in the
>> cpp if it is not static, however that doesn't seem to be the case often.
>> If you prefer the second style we can use that one, but then I will
>> immediately raise the same question for arguments in the definition.
>> Do we want:
>> ScopArrayInfo::getFromAccessFunction(__isl_keep isl_pw_multi_aff *PMA)
>> {
>> ...
>> }
>> or
>> ScopArrayInfo::getFromAccessFunction(isl_pw_multi_aff *PMA) {
>> ...
>> }
>
>
> I would go for the first. The same reasoning applies and it is also more
> consistent.
>
> If we agree on this, I propose to add the annotations at places where they
> are missing. (Obviously, this is not coupled to this patch. Just a note for
> myself).
Just some remark:
If in the long run we could switch to a C++ wrapper of isl, such
annotation wouldn't be necessary anymore.
Michael
More information about the llvm-commits
mailing list