[llvm-commits] [patch] add gcroot attribute, test

Chris Lattner clattner at apple.com
Fri Sep 21 10:50:24 PDT 2007


On Sep 21, 2007, at 1:49 AM, Eric Christopher wrote:

>>
>> GCC carefully packs these bitfields so that there are exactly 32  
>> of them.  With this addition, you'll push over and require an  
>> extra word for every tree.  Would it be possible to record the  
>> gcroot flag in the attributes list somehow?  This tradeoff seems  
>> worthwhile, because almost no structs will be marked as GCable.
>
> Sure. Here's the new patch. I removed any dependence on  
> RECORD_TYPE, but make sure we have a pointer at least to gcroot from.

Applied, thanks Eric!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of- 
Mon-20070917/053744.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of- 
Mon-20070917/053746.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of- 
Mon-20070917/053745.html

-Chris



More information about the llvm-commits mailing list