[clang] [clang][RISC-V] fixed fp calling convention for fpcc eligible structs for risc-v (PR #110690)
    Kamran Yousafzai via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Oct  3 03:06:56 PDT 2024
    
    
  
================
@@ -251,6 +251,13 @@ bool RISCVABIInfo::detectFPCCEligibleStructHelper(QualType Ty, CharUnits CurOff,
         // bitwidth is XLen or less.
         if (getContext().getTypeSize(QTy) > XLen && BitWidth <= XLen)
           QTy = getContext().getIntTypeForBitwidth(XLen, false);
+        // Trim type to alignment/bitwidth if that is possible
----------------
KamranYousafzai wrote:
Updated
https://github.com/llvm/llvm-project/pull/110690
    
    
More information about the cfe-commits
mailing list