[libc-commits] [clang] [libc] [libcxx] [clang][X86] Emit AVX level mismatch psABI warnings on function definitions (PR #199091)

Aaron Ballman via libc-commits libc-commits at lists.llvm.org
Wed Jun 24 07:09:22 PDT 2026


================
@@ -1571,6 +1575,65 @@ static bool checkAVXParam(DiagnosticsEngine &Diag, ASTContext &Ctx,
   return false;
 }
 
+void X86_64TargetCodeGenInfo::checkFunctionABI(CodeGenModule &CGM,
----------------
AaronBallman wrote:

Do we need special handling for calls through function pointers where we might not have a `FunctionDecl`? What about things like Objective-C method declarations? Blocks?

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


More information about the libc-commits mailing list