[LLVMdev] Marking some pointers for gc (original) (raw)

Philip Reames listmail at philipreames.com
Tue Feb 3 10:27:54 PST 2015


On 01/21/2015 10:00 AM, Ramkumar Ramachandra wrote:

Philip Reames wrote:

There's lots of room to experiment with a gc-leaf function attribute, and - in particular - the inference of such. I'm not sure how this would help: do you have optimizations that we can apply specifically to gc-leaf functions? You don't need a safepoint (i.e. statepoint) on a call to a gc-leaf function. You also don't need all of the explicit relocation in the IR. At least in principal, this can lead to substantially better optimization.

Philip



More information about the llvm-dev mailing list