This is an archive of the discontinued LLVM Phabricator instance.

[ARM] don't emit constant pool for Thumb1 XO/stack guard combo
ClosedPublic

Authored by stuij on Jul 13 2023, 3:32 AM.

Details

Summary

Currently for armv6-m and armv8-m.baseline, we emit constant pool code when we
use execute-only (XO) in combination with stack guards.

XO is a new feature for armv6-m, and this patch is part of a series of patches
that substitutes constant pool generation with the tMOVi32imm equivalent.

However XO for armv8-m.baseline has been available for about 6 years, and so
for armv8-m.baseline this is a bugfix.

Diff Detail

Event Timeline

stuij created this revision.Jul 13 2023, 3:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2023, 3:32 AM
stuij requested review of this revision.Jul 13 2023, 3:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2023, 3:32 AM
olista01 accepted this revision.Jul 13 2023, 9:17 AM
olista01 added a subscriber: olista01.

LGTM

This revision is now accepted and ready to land.Jul 13 2023, 9:17 AM
simonwallis2 accepted this revision.Jul 13 2023, 11:56 PM