[all-commits] [llvm/llvm-project] a90228: [AArch64][Windows] Fix the slot offset of the swif...

Hiroshi Yamauchi via All-commits all-commits at lists.llvm.org
Thu Jul 27 12:33:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a90228b911d3c70833a4abe63b81e02a7a8da1f5
      https://github.com/llvm/llvm-project/commit/a90228b911d3c70833a4abe63b81e02a7a8da1f5
  Author: Hiroshi Yamauchi <hjyamauchi at gmail.com>
  Date:   2023-07-27 (Thu, 27 Jul 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    A llvm/test/CodeGen/AArch64/swift-async-context-slot-offset-win.ll

  Log Message:
  -----------
  [AArch64][Windows] Fix the slot offset of the swift async context register.

This fixes a code gen issue where savings the swift async context
register (x22) accidentally overwrites the saved value of another
callee-saved register, corrupts its value and causes a crash.

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




More information about the All-commits mailing list