2 Commits

Author SHA1 Message Date
Yuta Saito
679e594d9d
[clang] Add __has_extension(swiftcc) support (#85347) 2024-03-20 21:18:57 +09:00
Saleem Abdulrasool
f587857c88 ARM, AArch64: support __attribute__((__swiftcall__))
Support the Swift calling convention on Windows ARM and AArch64.  Both
of these conform to the AAPCS, AAPCS64 calling convention, and LLVM has
been adjusted to account for the register usage.  Ensure that the
frontend passes this into the backend.  This allows the swift runtime to
be built for Windows.

llvm-svn: 348454
2018-12-06 03:28:37 +00:00