[clang] [clang] Add Swift support for MIPS (PR #205461)
Alsey Coleman Miller via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 24 14:00:42 PDT 2026
================
@@ -44,7 +44,10 @@ class MIPSTargetCodeGenInfo : public TargetCodeGenInfo {
public:
MIPSTargetCodeGenInfo(CodeGenTypes &CGT, bool IsO32)
: TargetCodeGenInfo(std::make_unique<MipsABIInfo>(CGT, IsO32)),
- SizeOfUnwindException(IsO32 ? 24 : 32) {}
+ SizeOfUnwindException(IsO32 ? 24 : 32) {
+ SwiftInfo =
+ std::make_unique<SwiftABIInfo>(CGT, /*SwiftErrorInRegister=*/false);
----------------
colemancda wrote:
I assume we can, its just more involved, and I wanted to submit the minimum amount of changes needed to enable the language.
https://github.com/llvm/llvm-project/pull/205461
More information about the cfe-commits
mailing list