Sirraide wrote:

> But it sounds like my idea doesn't have legs because of OpenMP specification 
> requirements. I'm fine with (3) as an approach then.

I think a hybrid approach between (3) and what you’re suggesting might make 
sense:
1. Introduce `[[omp::assume]]` for OpenMP
2. Deprecate `[[clang::assume]]` and `__attribute__((assume))`, telling people 
to use `[[omp::assume]]` or `[[assume]]` instead, depending on where we 
encounter the attribute, and maybe, eventually
3. Change `__attribute__((assume))` (and `[[clang::assume]]` if we care enough 
about that one) to be synonyms for `[[assume]]`.

https://github.com/llvm/llvm-project/pull/81014
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to