[clang] [Clang] Automatically enable `-fconvergent-functions` on GPU targets (PR #111076)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 4 06:18:08 PDT 2024


arsenm wrote:

> Think it would be useful to put that on functions in the wrapper headers that definitely aren't convergent? E.g. getting a thread id.

You could, but it's trivially inferable in those cases anyway 



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


More information about the cfe-commits mailing list