[PATCH] D112600: [ARM] Use hardware TLS register in Thumb2 mode when -mtp=cp15 is passed
Peter Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 27 09:55:30 PDT 2021
peter.smith accepted this revision.
peter.smith added a comment.
This revision is now accepted and ready to land.
LGTM as this as CP15 can be used on architecture v6k and above, which maps to IsThumb2.
As an aside from this patch, the Arm state could be considered too permissive as it will permit -mtls=cp15 on architectures that wouldn't have the coprocessor register like arm7tdmi, although GCC also permits this so I guess we're in the set this option with care territory.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112600/new/
https://reviews.llvm.org/D112600
More information about the cfe-commits
mailing list