This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Emit local aliases (.Lfoo$local) for functions
ClosedPublic

Authored by arichardson on Aug 8 2022, 5:50 AM.

Details

Summary

ARMAsmPrinter::emitFunctionEntryLabel() was not calling the base class
function so the $local alias was not being emitted. This should not have
any function effect right now since ARM does not generate different code
for the $local symbols, but it could be improved in the future.

Diff Detail

Event Timeline

arichardson created this revision.Aug 8 2022, 5:50 AM
arichardson published this revision for review.Aug 8 2022, 1:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 1:26 PM
MaskRay accepted this revision.Aug 8 2022, 2:16 PM

Test?

This revision is now accepted and ready to land.Aug 8 2022, 2:16 PM

I could move https://reviews.llvm.org/D131432 first in the stack to test this or would you prefer a separate test?

I could move https://reviews.llvm.org/D131432 first in the stack to test this or would you prefer a separate test?

Pre-committing a test than push this with an updated test.

Or, push this with the new test.

The former is probably preferred.

This revision was landed with ongoing or failed builds.Aug 9 2022, 2:54 AM
This revision was automatically updated to reflect the committed changes.