[PATCH] D95179: [AArch64] Do not fold SP adjustments into pre-increment addr modes if it overflows the redzone.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 11:31:14 PST 2021
aemerson updated this revision to Diff 325509.
aemerson retitled this revision from "[AArch64] Do not fold SP adjustments into pre-increment addr modes with noredzone." to "[AArch64] Do not fold SP adjustments into pre-increment addr modes if it overflows the redzone.".
aemerson edited the summary of this revision.
aemerson added a comment.
Prevent folding in the offset if it's too large, even if we have a red zone.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95179/new/
https://reviews.llvm.org/D95179
Files:
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
llvm/test/CodeGen/AArch64/ldst-nopreidx-sp-redzone.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95179.325509.patch
Type: text/x-patch
Size: 25062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210222/2adc01f0/attachment.bin>
More information about the llvm-commits
mailing list