[clang] [Clang][C++23] Implement P1774R8: Portable assumptions (PR #81014)

via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 11:15:30 PST 2024


Sirraide wrote:

> Thanks for the heads up. I don't think renaming to openmp_assume works for OpenMP. We need to support `#pragma omp assume`, `[[omp::assume]]` and `[[using omp : assume]]` as defined by the standard.

Hmm, `[[omp::assume]]` shouldn’t be an issue, because that’s pretty clearly something else. It’s mainly `[[clang::assume]]` and `__attribute__((assume))` that are the problem here.

https://github.com/llvm/llvm-project/pull/81014


More information about the cfe-commits mailing list