[libc-commits] [libc] [libc] Stub handling for the PPC double	double type (PR #136614)
    Michael Jones via libc-commits 
    libc-commits at lists.llvm.org
       
    Tue Apr 22 13:27:39 PDT 2025
    
    
  
================
@@ -818,7 +830,8 @@ struct FPBits final : public internal::FPRepImpl<get_fp_type<T>(), FPBits<T>> {
   static_assert(cpp::is_floating_point_v<T>,
                 "FPBits instantiated with invalid type.");
   using UP = internal::FPRepImpl<get_fp_type<T>(), FPBits<T>>;
-  using StorageType = typename UP::StorageType;
+  using StorageType =
+      typename internal::FPLayout<get_fp_type<T>()>::StorageType;
----------------
michaelrj-google wrote:
This feels like a bit of a hack. Is there a reason we can't add the `FPRepSem` and leave this as-is?
https://github.com/llvm/llvm-project/pull/136614
    
    
More information about the libc-commits
mailing list