[PATCH] D62580: [OpenCL] Use long instead of long long in x86 builtins
Alexander Batashev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 29 05:37:34 PDT 2019
alexbatashev created this revision.
alexbatashev added reviewers: craig.topper, Ka-Ka, eandrews.
alexbatashev added a project: clang.
Herald added subscribers: cfe-commits, Anastasia, yaxunl.
According to C99 standard long long is at least 64 bits in size. However, OpenCL C defines long long as 128 bit signed integer. This prevents one to use x86 builtins when compiling OpenCL C code for x86 targets. The patch changes long long to long for OpenCL only.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 130307 bytes
Desc: not available
More information about the cfe-commits