[all-commits] [llvm/llvm-project] 6e6d2b: [AArch64][Windows] Fix the callee-saved registers ...

Hiroshi Yamauchi via All-commits all-commits at lists.llvm.org
Wed Jul 12 13:25:45 PDT 2023


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

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64CallingConvention.td
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    M llvm/test/CodeGen/AArch64/swift-async-win.ll
    A llvm/test/CodeGen/AArch64/swift-csr-win.ll

  Log Message:
  -----------
  [AArch64][Windows] Fix the callee-saved registers for swiftcc on Windows/AArch64

Fix a miscompilation crash where swiftself on x20 gets corrupted due
to incorrect save/restore at prologue/epilogue.

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




More information about the All-commits mailing list