[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 04:58:17 PDT 2016
On 04/07/2016 01:32 PM, Johannes Doerfert wrote:
> On 04/07, Tobias Grosser wrote:
>> ================
>> Comment at: lib/Analysis/ScopInfo.cpp:3060
>> @@ -3046,1 +3059,3 @@
>>
>> +isl_set *Scop::getErrorCtxReachingStmt(ScopStmt &Stmt) {
>> + auto *BB = Stmt.getEntryBlock();
>> ----------------
>> Add __isl_give here as well.
> We (or at least I) do not use isl memory annotations in the CPP file if
> it is not a static function. Apparently you want me to now but not
> before so I am confused.
I may have missed this before. I would suggest to agree on something.
$grep '^isl_' lib/*/*.cpp | wc
14 69 1151
$grep '^__isl_' lib/*/*.cpp | wc
63 298 5010
It seems we have both styles, with the second more common than the
first. I personally prefer the second style, as it makes this
information readily available when looking at the implementation of a
function.
Do you suggest to switch to your style instead?
Best,
Tobias
More information about the llvm-commits
mailing list