This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Add some more kernel argument tests
ClosedPublic

Authored by svenvh on Dec 1 2020, 10:18 AM.

Details

Summary

These cases weren't in any of the SemaOpenCL tests yet.

Diff Detail

Event Timeline

svenvh created this revision.Dec 1 2020, 10:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2020, 10:18 AM
Herald added a subscriber: yaxunl. · View Herald Transcript
svenvh requested review of this revision.Dec 1 2020, 10:18 AM
Anastasia accepted this revision.Dec 1 2020, 10:39 AM

LGTM! Thanks

clang/test/SemaOpenCL/invalid-kernel-parameters.cl
40

Btw this is tested in C, C++, and C++ for OpenCL. But I think it's good to test here as well.

This revision is now accepted and ready to land.Dec 1 2020, 10:39 AM
This revision was landed with ongoing or failed builds.Dec 3 2020, 2:22 AM
This revision was automatically updated to reflect the committed changes.