s-barannikov 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...

You need to return false for it in `CanLowerReturn`.


https://github.com/llvm/llvm-project/pull/162226
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to