This is an archive of the discontinued LLVM Phabricator instance.

[ARM] allow long-call codegen for armv6-M eXecute Only (XO)
ClosedPublic

Authored by stuij on Jun 26 2023, 9:30 AM.

Details

Summary

Recently eXecute Only (XO) codegen was also allowed for armv6-M. Previously this
was only implemented for ~armv7+, effectively if MOVW/MOVT is
available. Regarding long calls, we remove the check for MOVW/MOVT when
generating code for XO, which already was redundant as in the subtarget
initialization we already check if XO is valid for the target. And targets that
generate valid XO code should be able to handle the (wrapper globaladdress)
node.

Diff Detail

Event Timeline

stuij created this revision.Jun 26 2023, 9:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 9:30 AM
stuij requested review of this revision.Jun 26 2023, 9:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 9:30 AM
This revision is now accepted and ready to land.Jun 26 2023, 12:12 PM
This revision was landed with ongoing or failed builds.Jun 28 2023, 2:50 AM
This revision was automatically updated to reflect the committed changes.