Displaying 3 results from an estimated 3 matches for "8fcd0fb9".
2010 Apr 07
1
[LLVMdev] Union types
...mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
--
-- Talin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100407/8fcd0fb9/attachment.html>
2010 Mar 29
0
[LLVMdev] Union types
On Mon, Mar 29, 2010 at 01:15:30PM +0100, Renato Golin wrote:
> Hi All,
>
> Which implies no one was expecting a UnionType there...
>
> Also, if I generate the object code directly, llc fails too...
>
> Is there any plan to implement the union type? The work-around is quite ugly...
Sorry to Renato for getting two copeis of this, I cocked up the reply
first time.
Anyway,
2010 Mar 29
6
[LLVMdev] Union types
Hi All,
I've noticed the union type in the language manual [1] but it seems
it's not used too much.
According to the manual, the code:
union {
int a;
double b;
} a;
Could be compiled to:
%union.anon = type union { i32, double }
@a = common global %union.anon zeroinitializer, align 8 ;
<%union.anon*> [#uses=0]
But when I try to assemble it, I get:
$ llvm-as union.ll