[PATCH] D152407: [AArch64] Merge LDRSWpre-LD[U]RSW pair into LDPSWpre.

Zhuojia Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 17:37:25 PDT 2023


chaosdefinition updated this revision to Diff 553674.
chaosdefinition added a comment.

Hi, I'm reopening this with the following updates:

- Apply the quick fix described in D152407#4534022 <https://reviews.llvm.org/D152407#4534022> that disallows merging two pre-indexed loads, assuming there's no better approach.
- Add MIR regression tests modified from @scw's reproduction .

Thanks!


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152407/new/

https://reviews.llvm.org/D152407

Files:
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  llvm/test/CodeGen/AArch64/ldrpre-ldr-merge.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152407.553674.patch
Type: text/x-patch
Size: 7794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230826/711c25df/attachment.bin>


More information about the llvm-commits mailing list