This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Add as_size/ptrdiff/intptr/uintptr_t operators
ClosedPublic

Authored by svenvh on Mar 19 2021, 9:17 AM.

Details

Summary

size_t and friends are built-in scalar data types and s6.4.4.2 of the
OpenCL C Specification says the as_type() operator must be available
for these data types.

Diff Detail

Event Timeline

svenvh created this revision.Mar 19 2021, 9:17 AM
svenvh requested review of this revision.Mar 19 2021, 9:17 AM
Anastasia accepted this revision.Mar 22 2021, 9:26 AM

LGTH! Thanks!

This revision is now accepted and ready to land.Mar 22 2021, 9:26 AM
This revision was landed with ongoing or failed builds.Apr 7 2021, 2:16 AM
This revision was automatically updated to reflect the committed changes.