[clang] [CIR][ARM] Generic 32-bit ARM codegen and lowering support (PR #204360)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 22 16:52:47 PDT 2026


================
@@ -973,13 +970,12 @@ const CIRGenFunctionInfo &CIRGenTypes::arrangeCXXConstructorCall(
                               : RequiredArgs::All;
 
   GlobalDecl gd(d, ctorKind);
-  if (theCXXABI.hasThisReturn(gd))
-    cgm.errorNYI(d->getSourceRange(),
-                 "arrangeCXXConstructorCall: hasThisReturn");
   if (theCXXABI.hasMostDerivedReturn(gd))
     cgm.errorNYI(d->getSourceRange(),
                  "arrangeCXXConstructorCall: hasMostDerivedReturn");
-  CanQualType resultType = astContext.VoidTy;
+  // args[0] is the implicit 'this'; ABIs that return 'this' use its type.
----------------
andykaylor wrote:

Can you move the changes related to this ABI difference into a separate PR?

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


More information about the cfe-commits mailing list