[Lldb-commits] [lldb] [lldb][TypeSystem] Remove count parameter from TypeSystem::IsFloatingPointType (PR #165707)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 31 03:12:03 PDT 2025


================
@@ -860,10 +858,10 @@ ValueObjectSP ABISysV_mips::GetReturnValueObjectImpl(
     return_valobj_sp = ValueObjectMemory::Create(
         &thread, "", Address(mem_address, nullptr), return_compiler_type);
     return return_valobj_sp;
-  } else if (return_compiler_type.IsFloatingPointType(count, is_complex)) {
+  } else if (return_compiler_type.IsFloatingPointType(is_complex)) {
     if (IsSoftFloat(fp_flag)) {
       uint64_t raw_value = reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0);
-      if (count != 1 && is_complex)
+      if (!return_compiler_type.IsVectorType() || is_complex)
----------------
Michael137 wrote:

```suggestion
      if (is_complex)
```

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


More information about the lldb-commits mailing list