[flang-commits] [PATCH] D124400: [flang][runtime] Fix KIND=16 real/complex component I/O
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Apr 25 11:18:34 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6bcdde2334bd: [flang][runtime] Fix KIND=16 real/complex component I/O (authored by klausler).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124400/new/
https://reviews.llvm.org/D124400
Files:
flang/runtime/type-code.cpp
Index: flang/runtime/type-code.cpp
===================================================================
--- flang/runtime/type-code.cpp
+++ flang/runtime/type-code.cpp
@@ -134,11 +134,7 @@
case CFI_type_extended_double:
return std::make_pair(TypeCategory::Real, 10);
case CFI_type_long_double:
-#if __x86_64__
- return std::make_pair(TypeCategory::Real, 10);
-#else
return std::make_pair(TypeCategory::Real, 16);
-#endif
case CFI_type_float128:
return std::make_pair(TypeCategory::Real, 16);
case CFI_type_half_float_Complex:
@@ -152,11 +148,7 @@
case CFI_type_extended_double_Complex:
return std::make_pair(TypeCategory::Complex, 10);
case CFI_type_long_double_Complex:
-#if __x86_64__
- return std::make_pair(TypeCategory::Complex, 10);
-#else
return std::make_pair(TypeCategory::Complex, 16);
-#endif
case CFI_type_float128_Complex:
return std::make_pair(TypeCategory::Complex, 16);
case CFI_type_char:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124400.424983.patch
Type: text/x-patch
Size: 965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220425/44c45843/attachment.bin>
More information about the flang-commits
mailing list