[clang] [compiler-rt] [llvm] [SPARC] Properly handle CC for long double on sparc32 (PR #162226)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 23 23:39:49 PST 2025


================
@@ -1027,6 +1053,50 @@ SparcTargetLowering::LowerCall_32(TargetLowering::CallLoweringInfo &CLI,
 
     assert(VA.isMemLoc());
 
+    if (VA.getLocInfo() == CCValAssign::Indirect) {
----------------
s-barannikov wrote:

I guess you need to handle `CCValAssign::Indirect` in `VA.isRegLoc()` case as well (here and in LowerFormalArguments).

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


More information about the llvm-commits mailing list