[all-commits] [llvm/llvm-project] 76ccd1: [AArch64] Don't form paired loads from epilogue op...

Eli Friedman via All-commits all-commits at lists.llvm.org
Tue Oct 4 11:42:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76ccd1db735616af337d07ccfd88592b4d87e458
      https://github.com/llvm/llvm-project/commit/76ccd1db735616af337d07ccfd88592b4d87e458
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
    A llvm/test/CodeGen/AArch64/wineh9.mir

  Log Message:
  -----------
  [AArch64] Don't form paired loads from epilogue operations on Windows

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

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




More information about the All-commits mailing list