search for: firstclassaggreg

Displaying 5 results from an estimated 5 matches for "firstclassaggreg".

2008 Apr 27
8
[LLVMdev] Two new 'llvmnotes'
...e interested, I posted two new ideas for changes to the LLVM IR. The first is basically a cleanup, the second is a major new feature: Eliminating the 'Void' Type: http://nondot.org/sabre/LLVMNotes/EliminatingVoid.txt Aggregates as First Class Values: http://nondot.org/sabre/LLVMNotes/FirstClassAggregates.txt Thanks to Dan Gohman for convincing me that aggregates as first class values is really possible, I think it is a great idea. -Chris
2008 May 05
0
[LLVMdev] Two new 'llvmnotes'
Chris Lattner wrote: > Aggregates as First Class Values: > http://nondot.org/sabre/LLVMNotes/FirstClassAggregates.txt > Thinking more about this...I kinda wish it was available right *now*, because I sure could use it. I've been working on functions returning structures today, and in the current IR I basically have two choices: Either return the struct using multiple return values (which means...
2008 May 05
0
[LLVMdev] Two new 'llvmnotes'
...is might add a cost if you use {} for void. Also, there are an infinite number of different ways of returning void: return {} or {{}} or {{{}}} etc, not to mention returning zero length arrays. I guess that's life. > Aggregates as First Class Values: > http://nondot.org/sabre/LLVMNotes/FirstClassAggregates.txt Does this mean that vector types can be removed in favour of ordinary arrays? If not, maybe at least vectors should be changed to derive from array types, and no longer be primitive types. This would make it easier to fix a bunch of problems with vector types, for example that the primit...
2008 May 05
1
[LLVMdev] Two new 'llvmnotes'
Hi Talin, On May 5, 2008, at 1:13 AM, Talin wrote: > Chris Lattner wrote: >> Aggregates as First Class Values: >> http://nondot.org/sabre/LLVMNotes/FirstClassAggregates.txt >> > Thinking more about this...I kinda wish it was available right *now*, > because I sure could use it. I've been working on functions returning > structures today, and in the current IR I basically have two choices: > Either return the struct using multiple return v...
2008 Apr 27
0
[LLVMdev] Two new 'llvmnotes'
...or changes to the LLVM > IR. The first is basically a cleanup, the second is a major new > feature: > > Eliminating the 'Void' Type: > http://nondot.org/sabre/LLVMNotes/EliminatingVoid.txt > > Aggregates as First Class Values: > http://nondot.org/sabre/LLVMNotes/FirstClassAggregates.txt > > Thanks to Dan Gohman for convincing me that aggregates as first class > values is really possible, I think it is a great idea. > > -Chris > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://ll...