This is an archive of the discontinued LLVM Phabricator instance.

[IRBuilder][RS4GC] Require FunctionCallee when creating statepoint
ClosedPublic

Authored by nikic on Feb 3 2022, 3:45 AM.

Details

Summary

This makes the statepoint methods in IRBuilder accept a FunctionCallee, which carries both the callee and function type. This is used to add the elementtype attribute to the statepoint call.

RS4GC requires an additional tweak to actually preserve that attribute -- previously the attributes on the call were completely overwritten.

Depends on D117890.

Diff Detail

Event Timeline

nikic created this revision.Feb 3 2022, 3:45 AM
nikic requested review of this revision.Feb 3 2022, 3:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2022, 3:45 AM
reames accepted this revision.Feb 3 2022, 7:53 AM

LGTM

This revision is now accepted and ready to land.Feb 3 2022, 7:53 AM
This revision was landed with ongoing or failed builds.Feb 4 2022, 12:47 AM
This revision was automatically updated to reflect the committed changes.