search for: constructvalu

Displaying 1 result from an estimated 1 matches for "constructvalu".

Did you mean: constructvalue
2009 Dec 20
3
[LLVMdev] Status of first-class aggregate types
...rbitrary-sized structs as first class values. (Probably via some transformation pass the converts the return value into a hidden parameter.) First question - are those statements still true? Another thing I noticed recently was that although we have insert/extract value, there's no 'constructvalue' instruction. I'm thinking of something that would take a structure type + a list of individual field values and returns a first class aggregate. Right now, if you want to construct a new aggregate, it seems that you either have to alloca it, use GEP to fill in the fields, and then load it...