================
@@ -1145,6 +1145,17 @@ static bool argTypeIsABIEquivalent(QualType SrcType,
QualType DestType,
Context.getTypeSizeInChars(DestType))
return true;
+ // Allow pointer-to-integral and integral-to-pointer conversions if sizes
+ // match. On platforms where pointers and certain integer types (like
----------------
jrtc27 wrote:
m68k doesn't (Address vs Data registers)
https://github.com/llvm/llvm-project/pull/178390
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits