commit | f447b731d555cad6f1e30f2878eaab466345ac9f | [log] [tgz] |
---|---|---|
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | Wed Apr 07 10:16:41 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 12 11:08:09 2021 -0700 |
tree | 69a987b78ec85cc1661f971c0e4683a07c6b70fd | |
parent | 3b739a58191fabc140ae0b018bdc09d862a2c322 [diff] |
[OpenCL] Add as_size/ptrdiff/intptr/uintptr_t operators 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. Differential Revision: https://reviews.llvm.org/D98959 GitOrigin-RevId: 35bc7569f8ad8e76d36560386bbc45ca40716410