[PATCH] D146242: [ARM] Fixing ABI mismatch for packed structs passed as function arguments

Momchil Velikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 16 02:35:44 PDT 2023


chill added inline comments.


================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:5809
 
-    // For alignment adjusted HFAs, cap the argument alignment to 16, leave it
-    // default otherwise.
+    // For alignment adjusted HFAs, cap the argument alignment to 16, otherwise
+    // set it to 8 according to the AAPCS64 document.
----------------
No need to "alignment adjusted", just "HFA/HVA"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146242



More information about the cfe-commits mailing list