BTW, I don't know if I mentioned this but thank you for the patch. Do you know if you will be doing any further work on unions? I'm trying to decide / understand what to work on next - unfortunately I'm not all that familiar with the LLVM backends and code generators, I'm mostly a front end guy. :)<br>
<br><div class="gmail_quote">On Mon, Mar 29, 2010 at 7:15 AM, Tim Northover <span dir="ltr"><<a href="mailto:T.P.Northover@sms.ed.ac.uk">T.P.Northover@sms.ed.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Mon, Mar 29, 2010 at 01:15:30PM +0100, Renato Golin wrote:<br>
> Hi All,<br>
<div class="im">><br>
> Which implies no one was expecting a UnionType there...<br>
><br>
> Also, if I generate the object code directly, llc fails too...<br>
><br>
> Is there any plan to implement the union type? The work-around is quite ugly...<br>
<br>
</div>Sorry to Renato for getting two copeis of this, I cocked up the reply<br>
first time.<br>
<br>
Anyway, here's a patch for this issue (I'd not tried zero initialiser<br>
during my work). It seems to pass all the same tests as llvm did before,<br>
and give reasonable output.<br>
<br>
Also, does anyone know off the top of their heads what would be needed<br>
to get unions up to scratch? They do seem to be a neat solution and I'd<br>
be sad to see them removed.<br>
<font color="#888888"><br>
Tim.<br>
</font><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- Talin<br>