jdoerfert added a comment.

Can we please always do the globalization, even in the `target teams distribute 
parallel for` case you need it if a thread shares the address of a local 
variable with the team and another thread uses it.
There is no argument other than "doesn't escape" that Clang can make to 
disprove globalization is needed, IMHO.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99432/new/

https://reviews.llvm.org/D99432

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to