xry111 added a comment.
Are cases like
struct x { double a; __int128 : 0; double b;};
double f(struct x x) { return x.a + x.b; }
handled properly? AFAIK RISC-V clang currently does not handle it correctly:
https://godbolt.org/z/rvM99zbqc (GCC handles it properly)
https://godbolt.org/z/sWY5vs5ce (Clang does not handle it properly)
Note that we rectified the ABI to match the behavior of RISC-V GCC deliberately
(https://gcc.gnu.org/r12-8294) but I didn't rewrite the document because the
behavior is not easy to describe with my poor English.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132285/new/
https://reviews.llvm.org/D132285
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits