[PATCH] D134992: [AArch64] Don't form paired loads from epilogue operations.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 14:37:21 PDT 2022


efriedma created this revision.
efriedma added reviewers: mstorsjo, zzheng, sdesmalen.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
efriedma requested review of this revision.
Herald added a project: LLVM.

AArch64LoadStoreOptimizer has a bunch of different guards to avoid corrupting Windows SEH prologues/epilogues, but apparently we missed the case of merging two instructions where the first instruction isn't part of the epilogue, but the second instruction is.

Fixes issue discovered at https://reviews.llvm.org/D130049#3704064


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134992

Files:
  llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  llvm/test/CodeGen/AArch64/wineh9.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134992.464405.patch
Type: text/x-patch
Size: 5454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220930/f1211aa3/attachment.bin>


More information about the llvm-commits mailing list