[PATCH] D154233: [ARM] generate correct code for armv6-m XO big stack operations
Ties Stuij via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 30 09:46:19 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.
The ARM backend codebase is dotted with places where armv6-m will generate
constant pools. Now that we can generate execute-only code for armv6-m, we need
to make sure we use the movs/lsls/adds/lsls/adds/lsls/adds pattern instead of
these.
Big stacks is one of the obvious places. In this patch we take care of two
sites:
1. take care of big stacks in prologue/epilogue
2. take care of save/tSTRspi nodes, which implicitly fixes emitThumbRegPlusImmInReg which is used in several frame lowering fns
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154233
Files:
llvm/lib/Target/ARM/ARMAsmPrinter.cpp
llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
llvm/lib/Target/ARM/ThumbRegisterInfo.cpp
llvm/test/CodeGen/ARM/large-stack.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154233.536296.patch
Type: text/x-patch
Size: 6416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230630/82d1cf08/attachment.bin>
More information about the llvm-commits
mailing list