[LLVMdev] "long long" type in C backend

Chris Lattner clattner at apple.com
Mon Aug 11 13:29:53 PDT 2008


On Aug 11, 2008, at 1:13 PM, Jonathan S. Shapiro wrote:

> Delayed reaction. Chris's response that the emitted code relies on  
> long
> long to be a 64-bit type just sunk in.
>
> Chris: is there some reason why the backend does not #include  
> <stdint.h>
> and then emit [u]int64_t (and the other sized types as well) and also
> [u]intptr_t?

The CBE output can't #include standard headers, the macros and types  
that are defined in the headers will conflict.

-Chris



More information about the llvm-dev mailing list