This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Misc. refactoring in CFGStackify (NFC)
ClosedPublic

Authored by aheejin on Jan 4 2021, 3:51 PM.

Details

Summary

Updating ScopeTops is something we frequently do in CFGStackify, so
this factors it out as a function. This also makes a few utility
functions templated so that they are not dependent on input vector
types and simplifies function parameters.

Diff Detail

Event Timeline

aheejin created this revision.Jan 4 2021, 3:51 PM
aheejin requested review of this revision.Jan 4 2021, 3:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2021, 3:51 PM
tlively accepted this revision.Jan 7 2021, 10:23 AM
This revision is now accepted and ready to land.Jan 7 2021, 10:23 AM
This revision was automatically updated to reflect the committed changes.