This is an archive of the discontinued LLVM Phabricator instance.

[Statepoint Lowering] Consider dead deopt gc values together with other gc values
ClosedPublic

Authored by skatkov on Feb 26 2021, 6:36 AM.

Details

Summary

Currently dead gc value mentioned in the deopt section are not listed in gc section
and so are processed separately.
With this CL all deopt gc values are considered as base pointers and processed in the
same way as other gc values.

The fact that deopt gc pointer is a base pointer was used all the time but
it is explicitly documented here by putting the value in SI.Base.

This is an alternative patch for D97108.
The idea of the patch comes from Philip Reames.

Diff Detail

Event Timeline

skatkov created this revision.Feb 26 2021, 6:36 AM
skatkov requested review of this revision.Feb 26 2021, 6:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 26 2021, 6:36 AM
reames accepted this revision.Feb 26 2021, 9:35 AM

LGTM

This revision is now accepted and ready to land.Feb 26 2021, 9:35 AM