This will be used later in RewriteStatepointsForGC.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Actually, I'm not sure Transform/Utils is the right place to put callsGCLeafFunction, I'll look for a better place.
Comment Actions
LGTM either in it's current location or somewhere in Analysis. I would suggest updating the documentation to reflect that most passes can and should ignore this information and that's effectively only used during lowering by the GC infrastructure. (a.k.a. the property doesn't effect optimization.)