[clang] [compiler-rt] [llvm] [WIP][SPARC] Properly handle CC for long double on sparc32 (PR #162226)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 7 16:49:29 PDT 2025
================
@@ -24,8 +24,8 @@ def CC_Sparc32 : CallingConv<[
// As are v2i32 arguments (this would be the default behavior for
// v2i32 if it wasn't allocated to the IntPair register-class)
CCIfType<[v2i32], CCCustom<"CC_Sparc_Assign_Split_64">>,
-
-
+ // f128 arguments are passed indirectly.
+ CCIfType<[f128], CCPassIndirect<i32>>,
----------------
efriedma-quic wrote:
Looks right, I think.
https://github.com/llvm/llvm-project/pull/162226
More information about the cfe-commits
mailing list