This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Reject the alias attribute in CUDA device code.
ClosedPublic

Authored by jlebar on Jan 22 2016, 5:55 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 45783.Jan 22 2016, 5:55 PM
jlebar retitled this revision from to [CUDA] Reject the alias attribute in CUDA device code..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added subscribers: echristo, jhen, cfe-commits.
echristo accepted this revision.Jan 23 2016, 11:40 AM
echristo added a reviewer: echristo.

OK. One question inline, but feel free to commit after answering one way or the other :)

-eric

test/SemaCUDA/alias.cu
1–2 ↗(On Diff #45783)

Why does this require a registered target? Pretty sure TargetInfo should be able to cope with all of these.

This revision is now accepted and ready to land.Jan 23 2016, 11:40 AM
jlebar added inline comments.Jan 23 2016, 11:46 AM
test/SemaCUDA/alias.cu
1–2 ↗(On Diff #45783)

Honestly I've been cargo-culting those lines from other SemaCUDA tests. Would you mind elaborating on what they're for?

jlebar added inline comments.Jan 23 2016, 1:31 PM
test/SemaCUDA/alias.cu
1–2 ↗(On Diff #45783)

Removed them in the meantime.

This revision was automatically updated to reflect the committed changes.