Displaying 2 results from an estimated 2 matches for "eaa8566d".
2009 Jun 13
0
[LLVMdev] ML types in LLVM
...ruction, I'm not sure how you could do that better.
You can portably get the allocation size of a type using
TargetData::getTypeSizeInBits().
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090613/eaa8566d/attachment.html>
2009 Jun 13
4
[LLVMdev] ML types in LLVM
Good afternoon!
I'm trying to write an LLVM codegen for a Standard ML compiler
(MLton). So far things seem to match up quite nicely, but I have hit
two sticking points. I'm hoping LLVM experts might know how to handle
these two cases better.
1: In ML we have some types that are actually one of several possible
types. Expressed in C this might be thought of as a union. The codegen
only