[clang] Mechanically port bulk of x86 builtins to TableGen (PR #120831)

Chandler Carruth via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 22 01:00:44 PST 2024


chandlerc wrote:

> > A long way from an expert on OpenCL, but it seems to not even have the concept of `long long`, and `long` is defined as a 64-bit type (and just optional for embedded stuff)?
> > 
> > https://registry.khronos.org/OpenCL/sdk/3.0/docs/man/html/scalarDataTypes.html
> 
> Thanks for the confirmation! Does OpenCL supports Windows? IIRC, long is 32-bit on Windows.

Yeah, it's definitely different on windows in C/C++.  My impression is that opencl long is definitively 64 bit, and thats kind of why Oi exists -- to map that to `long long` outside of opencl where it would be ambiguous otherwise.

https://github.com/llvm/llvm-project/pull/120831


More information about the cfe-commits mailing list