This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Merge most of CodeGenCUDA/function-overload.cu into SemaCUDA/function-overload.cu.
ClosedPublic

Authored by jlebar on Mar 22 2016, 8:54 PM.

Details

Summary

Previously we were using the codegen test to ensure that we choose the
right overload. But we can do this within sema, with a bit of
cleverness.

I left the constructor/destructor checks in CodeGen, because these
overloads (particularly on the destructors) are hard to check in Sema.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 51383.Mar 22 2016, 8:54 PM
jlebar retitled this revision from to [CUDA] Merge most of CodeGenCUDA/function-overload.cu into SemaCUDA/function-overload.cu..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.
tra accepted this revision.Mar 23 2016, 10:35 AM
tra edited edge metadata.
This revision is now accepted and ready to land.Mar 23 2016, 10:35 AM
This revision was automatically updated to reflect the committed changes.