1 Commits

Author SHA1 Message Date
Saleem Abdulrasool
707cc06e15 Sema: diagnose PMFs passed through registers to inline assembly
The itanium ABI represents the PMF as a pair of pointers.  As such the
structure cannot be passed through a single register.  Diagnose such
cases in the frontend rather than trying to generate IR to perform this
operation.

Fixes: 59033

Differential Revision: https://reviews.llvm.org/D13851
Reviewed By: aaron.ballman
2022-12-09 16:58:46 +00:00