[PATCH] D134717: [Clang][AArch64] Fix va_arg with -mgeneral-regs-only

Dave Green via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 29 02:32:55 PDT 2022


dmgreen added a comment.

> With -mgeneral-regs-only, all arguments are passed in GPRs, so we should use gr_top/gr_offs in va_list even for floating-point types.

I don't believe that -mgeneral-regs-only was intended to define an ABI passing floats in GPRs for AArch64. If it has that is likely a mistake, I don't recall any such ABI being defined.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134717/new/

https://reviews.llvm.org/D134717



More information about the cfe-commits mailing list