search for: 3xi32

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

Did you mean: xi32
2010 Jul 21
1
[LLVMdev] Union type, is it really used or necessary?
...returns a ConstantExpr. Probably, LLVM has a function that returns a ConstantExpr type size, I'm just ignorant in this aspect. Another thought is can you delay the computing of the maximum storage of a union type by using a max operator? Your example can be represented as "struct { max([3xi32], [2xi8*],...) }", this approach will avoid deciding the size in front-ends. But again allowing TargetData.getTypeStorageSize() can compromise the architecture-neutrality goal. > > 2) Extracting the values from the union require pointer casting, which > means that the union cannot b...
2010 Jul 20
0
[LLVMdev] Union type, is it really used or necessary?
On Tue, Jul 20, 2010 at 8:34 AM, Chris Lattner <clattner at apple.com> wrote: > > On Jul 20, 2010, at 1:36 AM, Anton Korobeynikov wrote: > > >> used to make the code manipulating the union type "well typed". This > >> approach seems work very well, is there really a need to keep union type > in > >> LLVM? > > I think in its current
2010 Jul 20
4
[LLVMdev] Union type, is it really used or necessary?
On Jul 20, 2010, at 1:36 AM, Anton Korobeynikov wrote: >> used to make the code manipulating the union type "well typed". This >> approach seems work very well, is there really a need to keep union type in >> LLVM? > I think in its current state the unions should be removed from LLVM IR > in next release. It's pretty much unfinished and noone is willing to