[all-commits] [llvm/llvm-project] c31f0a: AArch64: correct epilogue/prologue emission for sw...

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Wed Mar 9 10:41:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c31f0a00503a36bc6fa6c27b94369ded6c37ba59
      https://github.com/llvm/llvm-project/commit/c31f0a00503a36bc6fa6c27b94369ded6c37ba59
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    A llvm/test/CodeGen/AArch64/swift-async-pei.ll

  Log Message:
  -----------
  AArch64: correct epilogue/prologue emission for swift async

The prologue and epilogue emission were unbalanced in light of different
strategies of async frame context emission.  Adjust the epilogue emission
to match the prologue emission.  This makes the elision work properly as
well as the deployment based.  Due to the fact that the epilogue always
was clearing a bit (which should not be set in the first place), the
client would not notice the behavioural issue unless the deployment
version was in effect.




More information about the All-commits mailing list