[PATCH] D100591: [Clang][AArch64] Disable rounding of return values for AArch64
Tim Northover via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 23 01:24:18 PDT 2021
t.p.northover added a comment.
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.
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