search for: createunion

Displaying 2 results from an estimated 2 matches for "createunion".

2010 Aug 15
0
[LLVMdev] "UNREACHABLE executed!" error?
...t about of space, but there's no way at all to make it >> match the API of a type. >> >> [1] - >> http://nondot.org/sabre/LLVMNotes/SizeOf-OffsetOf-VariableSizedStructs.txt > > That is what I was referring to, I know it would not be a single > instruction, but a CreateUnion in the IRBuilder or so could take a > list of types and so forth and find out the max in the IR using the > GEP trick an allocate an appropriate sized type that it returns for > use, in the IR you would see a lot of new lines based on how many > types are passed in to figure out the siz...
2010 Aug 15
2
[LLVMdev] "UNREACHABLE executed!" error?
On Sun, Aug 15, 2010 at 3:38 PM, Eric Christopher <echristo at apple.com> wrote: > > On Aug 15, 2010, at 2:34 PM, Nick Lewycky wrote: > >> Anton Korobeynikov wrote: >>> Hello >>> >>>> I just noticed that my union seems to look like an array....is that actually >>>> a union or do I have a problem somewhere? >>> Yes. Unions are