search for: copeis

Displaying 3 results from an estimated 3 matches for "copeis".

Did you mean: codeis
2010 Mar 29
0
[LLVMdev] Union types
..., 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, here's a patch for this issue (I'd not tried zero initialiser during my work). It seems to pass all the same tests as llvm did before, and give reasonable output. Also, does anyone know off the top of their heads what would be needed to g...
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
2010 Apr 07
1
[LLVMdev] Union types
...gt; > > 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, here's a patch for this issue (I'd not tried zero initialiser > during my work). It seems to pass all the same tests as llvm did before, > and give reasonable output. > > Also, does anyone know off the top of thei...