[PATCH] D15120: Add support for __float128 type to be used by targets that support it
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 29 13:18:12 PST 2016
hubert.reinterpretcast added a comment.
In http://reviews.llvm.org/D15120#337144, @nemanjai wrote:
> Do you suggest that we need to allow operations (or at least assignments) between the two types and take away the diagnostics that are part of this patch?
It appears that the conclusion is that operations between the two types will be allowed. The common type between `__float128` and `long double` will be `__float128` at this time, based on the observation that `__float128` is not yet available in cases where the choice of common type is still unclear.
It appears that at some point, interoperability issues with GCC will change that, and the choice of common type may need to be a target-based property (which may be implemented by the rank being target-based). For the purposes of this patch, I think we are deferring that issue.
More information about the cfe-commits