This is an archive of the discontinued LLVM Phabricator instance.

[ModuleInliner] Remove InlineOrder::front (NFC)
ClosedPublic

Authored by kazu on Sep 17 2022, 10:52 PM.

Details

Summary

InlineOrder::front is a remnant from the era when we had a nested
"while" loops in the module inliner, with the inner one grouping the
call sites with the same caller.

Now that we have a simple "while" loop draining the priority queue, we
can just use InlineOrder::pop.

Diff Detail

Event Timeline

kazu created this revision.Sep 17 2022, 10:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2022, 10:52 PM
kazu requested review of this revision.Sep 17 2022, 10:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2022, 10:52 PM
mtrofin accepted this revision.Sep 18 2022, 7:17 AM
This revision is now accepted and ready to land.Sep 18 2022, 7:17 AM
This revision was landed with ongoing or failed builds.Sep 18 2022, 8:49 AM
This revision was automatically updated to reflect the committed changes.