This is an archive of the discontinued LLVM Phabricator instance.

Disable emitting static extern C aliases for amdgcn target for CUDA
ClosedPublic

Authored by yaxunl on Mar 28 2018, 10:38 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

yaxunl created this revision.Mar 28 2018, 10:38 AM
tra accepted this revision.Mar 28 2018, 10:50 AM
This revision is now accepted and ready to land.Mar 28 2018, 10:50 AM
rjmccall added inline comments.Mar 28 2018, 11:58 AM
lib/CodeGen/CodeGenModule.cpp
4684 ↗(On Diff #140101)

Please add a target hook for this instead of building a list of targets that don't support it.

yaxunl updated this revision to Diff 140129.Mar 28 2018, 1:32 PM
yaxunl edited the summary of this revision. (Show Details)

Add a target hook as suggested by John.

rjmccall accepted this revision.Mar 28 2018, 2:39 PM

LGTM.

This revision was automatically updated to reflect the committed changes.