================ @@ -2834,7 +2834,7 @@ ABIArgInfo X86_64ABIInfo::classifyRegCallStructTypeImpl(QualType Ty, unsigned &NeededInt, unsigned &NeededSSE, unsigned &MaxVectorWidth) const { - auto RT = Ty->getAs<RecordType>(); + auto RT = Ty->castAs<RecordType>(); assert(RT && "classifyRegCallStructType only valid with struct types"); ---------------- RKSimon wrote:
castAs has an internal assert so drop this one? https://github.com/llvm/llvm-project/pull/95272 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits