[PATCH] D109751: [Clang] Support conversion between PPC double-double and IEEE float128
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 9 08:58:13 PST 2021
hubert.reinterpretcast added a comment.
It doesn't seem like the cases of implicit conversion that are expected to be allowed have been tested with C++?
$ ./bin/clang -fsyntax-only -mcpu=pwr9 -mfloat128 -xc -<<<$'__ibm128 x; __float128 y; void f(void) { y = x; }'
Return: 0x00:0 Tue Nov 9 11:53:23 2021 EST
$ ./bin/clang -fsyntax-only -mcpu=pwr9 -mfloat128 -xc++ -<<<$'__ibm128 x; __float128 y; void f(void) { y = x; }'
<stdin>:1:46: error: assigning to '__float128' from incompatible type '__ibm128'
__ibm128 x; __float128 y; void f(void) { y = x; }
^
1 error generated.
Return: 0x01:1 Tue Nov 9 11:53:43 2021 EST
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109751/new/
https://reviews.llvm.org/D109751
More information about the cfe-commits
mailing list