[PATCH] D18822: [Polly][FIX] Adjust execution context of hoisted loads wrt. error domains

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 07:19:58 PDT 2016


On 04/07/2016 03:51 PM, Johannes Doerfert wrote:
> On 04/07, Michael Kruse wrote:
>> 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.
> That was a topic 2 years ago,... I would not hold my breath ;)

Yes, we need someone to drive this. Patches from Armin and Andreas are 
available at github.com/simbuerg but testing them, cleaning them up and 
especially upstreaming is still necessary.

I would really hope we could do this gradually, as doing this in a big 
junk seems impossible.

Best,
Tobias


More information about the llvm-commits mailing list