[PATCH] D60748: Fix i386 struct and union parameter alignment
Joerg Sonnenberger via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 30 04:50:30 PDT 2019
joerg added inline comments.
Comment at: lib/CodeGen/TargetInfo.cpp:1501
+ // Exclude other System V OS (e.g Darwin, PS4 and FreeBSD) since we don't
+ // want to spend any effort dealing with the ramifications of ABI breaks.
> Darwin and BSD are not System V.
> CC: @joerg @mgorny for NetBSD. Do we need to do something here?
It's a misnomer. The ABI standard for i386 was the SysV ABI before GNU decided to silently break the stack alignment and calling it the new ABI. That said, I'm not sure how much copy-by-value of vector types actually happens and that's the only situation affected by this.
CHANGES SINCE LAST ACTION
More information about the cfe-commits