[clang] [compiler-rt] [llvm] [WIP][SPARC] Properly handle CC for long double on sparc32 (PR #162226)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 7 03:51:36 PDT 2025
koachan wrote:
> ```
> declare fp128 @fmul(fp128 %a, fp128 %b)
>
> define fp128 @square(fp128 %num) {
> %ret = call fp128 @fmul(fp128 %num, fp128 %num)
> ret fp128 %ret
> }
> ```
I think the main issue here is that the fp128s need to be passed around as if it's a sret struct but I dunno how to declare it in (Ret)CC_Sparc32...
https://github.com/llvm/llvm-project/pull/162226
More information about the llvm-commits
mailing list