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

Ties Stuij via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 03:32:37 PDT 2023


stuij created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
stuij requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155170

Files:
  llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
  llvm/test/CodeGen/Thumb/stack-guard-xo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155170.539927.patch
Type: text/x-patch
Size: 4909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230713/d423cac0/attachment.bin>


More information about the llvm-commits mailing list