[PATCH] D136430: [AAArch64][Windows] Fix the crash when running ninja check-asan

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 01:40:04 PDT 2022


bcl5980 created this revision.
bcl5980 added reviewers: DavidSpickett, dmgreen, paulwalker-arm, efriedma.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
bcl5980 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The crash comes from mismatch between load count in epilogue and seh instruction count.
Still because of the pass AArch64LoadStoreOpt. It remove some load in the epilogue but haven't remove the corresponding seh instruction.
This patch don't optimize the load in the epilogue to fix the issue.

Fix: #58516


https://reviews.llvm.org/D136430

Files:
  llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  llvm/test/CodeGen/AArch64/pr58516.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136430.469503.patch
Type: text/x-patch
Size: 5161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221021/b2561d50/attachment.bin>


More information about the llvm-commits mailing list