[LLVMdev] [patch] Writing ConstantUnions

Tim Northover T.P.Northover at sms.ed.ac.uk
Mon Mar 15 04:51:47 PDT 2010


Hello,

I noticed a bit of a gap in the current code for unions: a
ConstantUnion cannot be written out to .ll. 

Hopefully I'm not stepping on Talin's toes by posting this, it's a
fairly straightforward adaptation of the code for structs just above.

Tim.

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: unionWrite.patch
Type: text/x-diff
Size: 671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100315/09cca892/attachment.patch>


More information about the llvm-dev mailing list