[clang] [llvm] [clang] Support the Swift calling convention on 32-bit PowerPC (PR #205457)
Yuta Saito via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 24 07:53:44 PDT 2026
================
@@ -382,12 +382,26 @@ class PPC32_SVR4_ABIInfo : public DefaultABIInfo {
AggValueSlot Slot) const override;
};
+/// Swift calling convention ABI for 32-bit PowerPC (SVR4/EABI).
+class PPC32SwiftABIInfo : public SwiftABIInfo {
+public:
+ explicit PPC32SwiftABIInfo(CodeGenTypes &CGT)
+ : SwiftABIInfo(CGT, /*SwiftErrorInRegister=*/false) {}
----------------
kateinoigakukun wrote:
(same as MIPS) Q: Why we cannot use register-guaranteed swifterror? Is there any PowerPC limitation?
https://github.com/llvm/llvm-project/pull/205457
More information about the cfe-commits
mailing list