[LLVMdev] How to handle size_t in front ends?
Jonathan S. Shapiro
shap at eros-os.com
Tue May 6 23:49:39 PDT 2008
On Tue, 2008-05-06 at 23:18 -0700, Chris Lattner wrote:
> > 1) Is there a way to declare an integer type in the IR that represents
> > "an int the same size as a pointer" without specifying exactly the
> > size
> > of a pointer?
>
> No.
Chris:
There are other languages that specify a "word" type along these lines.
Would it be worth considering adding such a type to the IR, or is there
a reason not to do so that I am failing to see?
shap
More information about the llvm-dev
mailing list