This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Refactor CreateStackTemporary
ClosedPublic

Authored by david-arm on May 14 2020, 3:34 AM.

Details

Summary

I've created a new variant of CreateStackTemporary that takes
TypeSize and Align arguments, and made the older instances of
CreateStackTemporary call this new function. This refactoring is
in preparation for more patches in this area related to scalable
vectors and improving the alignment calculations.

Diff Detail

Event Timeline

david-arm created this revision.May 14 2020, 3:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 14 2020, 3:34 AM
This revision is now accepted and ready to land.May 14 2020, 7:15 AM
This revision was automatically updated to reflect the committed changes.