[PATCH] D100591: [Clang][AArch64] Disable rounding of return values for AArch64
Andrew Savonichev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 26 07:21:46 PDT 2021
asavonic added a comment.
In D100591#2711433 <https://reviews.llvm.org/D100591#2711433>, @t.p.northover wrote:
> On big-endian targets the rounding up to 64-bits (specified in the AAPCS) is significant; it means that structs get passed in the high bits of `x0` rather than low. E.g. https://godbolt.org/z/6v36oexsW. I think this patch would break that.
Thanks a lot! I've disabled the change for big-endian AArch64 targets.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100591/new/
https://reviews.llvm.org/D100591
More information about the cfe-commits
mailing list