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

Justin Lebar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 21 11:17:57 PDT 2019


jlebar requested changes to this revision.
jlebar added a comment.
This revision now requires changes to proceed.

I agree with Art.  The fact that nvcc allows this is broken.

If you want a flag that makes this error a warning, that might work for me.  The flag should probably say "unsafe" or "I promise I will not complain when this breaks me" or something to that effect.


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