[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
Thu Oct 14 22:58:58 PDT 2021


hubert.reinterpretcast added inline comments.


================
Comment at: clang/test/CodeGen/ibm128-cast.c:59
+  // IEEE: %{{.+}} = fadd ppc_fp128 %{{.+}}, %{{.+}}
+  w + q;
+  // CHECK: %{{.+}} = fadd ppc_fp128 %{{.+}}, %{{.+}}
----------------
It's controversial enough to consider, as well-formed, a case requiring application of the usual arithmetic conversions to a pair of operands with floating types that each have distinct values not representable by the type of the other operand; it is even more controversial to consider the type with the narrower finite range to be the common real type.


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