This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] opencl-c.h: Add const to get_image_num_samples
ClosedPublic

Authored by svenvh on Mar 30 2022, 7:24 AM.

Details

Summary

Align with the -fdeclare-opencl-builtins option and other
get_image_* builtins which have the const attribute.

Diff Detail

Event Timeline

svenvh created this revision.Mar 30 2022, 7:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2022, 7:24 AM
svenvh requested review of this revision.Mar 30 2022, 7:24 AM
Anastasia accepted this revision.Apr 11 2022, 3:53 AM

LGTM! Thanks

This revision is now accepted and ready to land.Apr 11 2022, 3:53 AM
This revision was automatically updated to reflect the committed changes.