[PATCH] D62603: [CUDA][HIP] Skip setting `externally_initialized` for static device variables.

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 29 09:01:23 PDT 2019


yaxunl added a comment.

LGTM. The externally initializable attribute causes some optimizations disabled. For static device variables it seems reasonable to remove the externaly initializable attribute.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62603





More information about the cfe-commits mailing list