Displaying 2 results from an estimated 2 matches for "testsimpleuniontype".
2009 May 08
0
[LLVMdev] Suggestion: Support union types in IR
Talin wrote:
> Chris Lattner wrote:
>> On Dec 30, 2008, at 12:41 PM, Talin wrote:
>>
>>> I've been thinking about how to represent unions or "disjoint types"
>>> in LLVM IR. At the moment, the only way I know to achieve this right
>>> now is to create a struct that is as large as the largest type in
>>> the union and then
2009 May 08
3
[LLVMdev] Suggestion: Support union types in IR
Chris Lattner wrote:
> On Dec 30, 2008, at 12:41 PM, Talin wrote:
>
>> I've been thinking about how to represent unions or "disjoint types"
>> in LLVM IR. At the moment, the only way I know to achieve this right
>> now is to create a struct that is as large as the largest type in
>> the union and then bitcast it to access the fields contained