jhuber6 wrote: > If that frontend is generating e.g. `cluster` scope on a target that doesn't > support it, why isn't that a frontend bug?
It basically depends if you want your code to be portable and conservatively correct or to refuse to compile. Threads not handling single-threaded scope while atomics do is unintuitive. I can make the list of supported scopes contract depending on user arguments, but as far as I'm aware the typical thing to do is just widen to the next scope because these are hierarchical. So, basically it's a question of how user hostile the backend wants to be. https://github.com/llvm/llvm-project/pull/185883 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
