[LLVMdev] "long long" type in C backend

Jonathan S. Shapiro shap at eros-os.com
Mon Aug 11 13:13:03 PDT 2008


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?

I'm thinking that this would make it a bit easier to re-target things,
and possibly also preserve more documentation of intent in the emitted
code.


shap




More information about the llvm-dev mailing list