[PATCH] D63020: [HIP] Fix visibility for 'extern' device variables.

2019-11-05 Thread Michael Liao via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG0a220de9e9ca: [HIP] Fix visibility for 'extern' device variables. (authored by hliao). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63020/new/ https://revi

[PATCH] D63020: [HIP] Fix visibility for 'extern' device variables.

2019-11-05 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl accepted this revision. yaxunl added a subscriber: scchan. yaxunl added a comment. This revision is now accepted and ready to land. LGTM. Thanks! @scchan This may fix the undefined symbol in work item struct issue at -O0 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D63020: [HIP] Fix visibility for 'extern' device variables.

2019-11-05 Thread Michael Liao via Phabricator via cfe-commits
hliao added a comment. Sam, could you review this? Even though it has no functionality issue so far, from the code sequence, once there's an `addrspacecast` is inserted, we lose the chance to set target specific attributes if any. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTIO

[PATCH] D63020: [HIP] Fix visibility for 'extern' device variables.

2019-06-07 Thread Michael Liao via Phabricator via cfe-commits
hliao created this revision. hliao added a reviewer: yaxunl. Herald added subscribers: cfe-commits, nhaehnle, jvesely. Herald added a project: clang. - Fix a bug which misses the change for a variable to be set with target-specific attributes. Repository: rG LLVM Github Monorepo https://revi