[all-commits] [llvm/llvm-project] 71097e: [ARM64EC] Add support for parsing __vectorcall (#8...

Eli Friedman via All-commits all-commits at lists.llvm.org
Tue Apr 9 19:54:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71097e927141e278dd92e847e67f636526510a31
      https://github.com/llvm/llvm-project/commit/71097e927141e278dd92e847e67f636526510a31
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGenCXX/arm64ec-vectorcall.cpp

  Log Message:
  -----------
  [ARM64EC] Add support for parsing __vectorcall (#87725)

MSVC doesn't support generating __vectorcall calls in Arm64EC mode, but
it does treat it as a distinct type. The Microsoft STL depends on this
functionality. (Not sure if this is intentional.) Add support for
parsing the same way as MSVC, and add some checks to ensure we don't try
to actually generate code.

The error handling in CodeGen is ugly, but I can't think of a better way
to do it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list