[all-commits] [llvm/llvm-project] ec4db1: [AAArch64][Windows] Fix the crash when running nin...

chenglin.bi via All-commits all-commits at lists.llvm.org
Fri Oct 21 07:12:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec4db1d0dc68c614af2231dbaf4c058fc03bdab0
      https://github.com/llvm/llvm-project/commit/ec4db1d0dc68c614af2231dbaf4c058fc03bdab0
  Author: chenglin.bi <chenglin.bi at linaro.org>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
    A llvm/test/CodeGen/AArch64/pr58516.ll

  Log Message:
  -----------
  [AAArch64][Windows] Fix the crash when running ninja check-asan

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

Reviewed By: mstorsjo

Differential Revision: https://reviews.llvm.org/D136430




More information about the All-commits mailing list