This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Allow clk_event_t comparisons
ClosedPublic

Authored by svenvh on Oct 30 2018, 8:33 AM.

Details

Summary

Also rename invalid-clk-events-cl2.0.cl to clk_event_t.cl and
repurpose it to include both positive and negative clk_event_t tests.

Diff Detail

Event Timeline

svenvh created this revision.Oct 30 2018, 8:33 AM
mantognini accepted this revision.Nov 1 2018, 3:06 AM

LGTM, but please add a comment in the test file.

test/SemaOpenCL/clk_event_t.cl
3

It would be nice to have a comment saying this macro was extracted from the opencl-c.h header file.

This revision is now accepted and ready to land.Nov 1 2018, 3:06 AM
This revision was automatically updated to reflect the committed changes.