[llvm] [CodeGen][Mips] Remove fp128 libcall list (PR #153798)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 15 06:23:17 PDT 2025


================
@@ -11031,6 +11031,12 @@ TargetLowering::LowerCallTo(TargetLowering::CallLoweringInfo &CLI) const {
   for (Type *Ty : RetOrigTys)
     RetTys.push_back(getValueType(DL, Ty));
 
+  if (CLI.RetTy != CLI.OrigRetTy) {
+    assert(RetOrigTys.size() == 1 &&
+           "Only supported for non-aggregate returns");
+    RetOrigTys[0] = CLI.OrigRetTy;
+  }
----------------
s-barannikov wrote:

This is confusing.
We were supposed to get the list of original types from ComputeValueTypes above.
Should we just call ComputeValueTypes passing CLI.OrigRetTy?


https://github.com/llvm/llvm-project/pull/153798


More information about the llvm-commits mailing list