[PATCH] D59647: [CUDA][HIP] Warn shared var initialization

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 17 14:37:30 PDT 2020


yaxunl requested review of this revision.
yaxunl added a comment.

We need to revive this review since we found it is very inconvenient without this.

Also, nvcc only emits a warning for it

https://cuda.godbolt.org/z/AzrDTt

So I think maybe we even want to emit it as warning by default.


Repository:
  rC Clang

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

https://reviews.llvm.org/D59647





More information about the cfe-commits mailing list