[all-commits] [llvm/llvm-project] ed8409: [ObjC][ARC] Fix target register for call expanded ...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Tue Sep 27 09:51:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed8409dfa0a92d80c021f13ca271737492522cc7
      https://github.com/llvm/llvm-project/commit/ed8409dfa0a92d80c021f13ca271737492522cc7
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ExpandPseudo.cpp
    M llvm/test/CodeGen/X86/call-rv-marker.ll

  Log Message:
  -----------
  [ObjC][ARC] Fix target register for call expanded from CALL_RVMARKER on Windows

Fix regression https://github.com/llvm/llvm-project/issues/56952 for Clang CodeGen on Windows. In the Windows ABI the instruction sequence that is expanded from CALL_RVMARKER should use RCX as target register and not RDI.

Reviewed By: rnk, fhahn

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




More information about the All-commits mailing list