This is an archive of the discontinued LLVM Phabricator instance.

Fix unstable SmallPtrSet iteration issues due to collectUsedGlobalVariables
ClosedPublic

Authored by MaskRay on Feb 21 2021, 12:31 AM.

Details

Summary

While here, decrease inline element counts from 8 to 4. See D97128 for the choice.

Depends on D97128 (which added a new SmallVecImpl overload for collectUsedGlobalVariables).

Diff Detail

Event Timeline

MaskRay created this revision.Feb 21 2021, 12:31 AM
MaskRay requested review of this revision.Feb 21 2021, 12:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2021, 12:31 AM
MaskRay updated this revision to Diff 325877.Feb 23 2021, 12:34 PM
MaskRay edited the summary of this revision. (Show Details)

Rebase

tejohnson accepted this revision.Feb 23 2021, 2:35 PM

Add that it depends on D97128 to summary (which will help point to context for anyone looking at this later).
lgtm

This revision is now accepted and ready to land.Feb 23 2021, 2:35 PM
This revision was landed with ongoing or failed builds.Feb 23 2021, 4:09 PM
This revision was automatically updated to reflect the committed changes.