This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Fix pipe built-in functions return type.
ClosedPublic

Authored by bader on Sep 1 2016, 8:12 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

bader updated this revision to Diff 70014.Sep 1 2016, 8:12 AM
bader retitled this revision from to [OpenCL] Fix pipe built-in functions return type..
bader updated this object.
bader added a reviewer: Anastasia.
bader added subscribers: yaxunl, cfe-commits.
Anastasia added inline comments.Sep 5 2016, 9:12 AM
test/CodeGenOpenCL/pipe_builtin.cl
64 ↗(On Diff #70014)

Could you please add similar test for the other two functions: get_pipe_*_packets?

bader updated this revision to Diff 70368.Sep 6 2016, 2:54 AM

Added get_pipe_num_packets and get_pipe_max_packets test cases.

Anastasia accepted this revision.Sep 6 2016, 10:44 AM
Anastasia edited edge metadata.

LGTM! Thanks!

This revision is now accepted and ready to land.Sep 6 2016, 10:44 AM
This revision was automatically updated to reflect the committed changes.