[flang-commits] [PATCH] D124423: [flang] Get ppc64le build bot back up

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Apr 25 17:37:59 PDT 2022


klausler updated this revision to Diff 425082.
klausler added a comment.

Remove irrelevant changes; the patch should be a simple #if/#endif exclusion on _ARCH_PPC.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124423/new/

https://reviews.llvm.org/D124423

Files:
  flang/lib/Evaluate/intrinsics-library.cpp


Index: flang/lib/Evaluate/intrinsics-library.cpp
===================================================================
--- flang/lib/Evaluate/intrinsics-library.cpp
+++ flang/lib/Evaluate/intrinsics-library.cpp
@@ -330,12 +330,14 @@
   using F = FuncPointer<long double, long double>;
   using FN = FuncPointer<long double, int, long double>;
   static constexpr HostRuntimeFunction table[]{
+#if !_ARCH_PPC // double-double, not supported; TODO: use HostTypeExists instead
       FolderFactory<F, F{::j0l}>::Create("bessel_j0"),
       FolderFactory<F, F{::j1l}>::Create("bessel_j1"),
       FolderFactory<FN, FN{::jnl}>::Create("bessel_jn"),
       FolderFactory<F, F{::y0l}>::Create("bessel_y0"),
       FolderFactory<F, F{::y1l}>::Create("bessel_y1"),
       FolderFactory<FN, FN{::ynl}>::Create("bessel_yn"),
+#endif // !_ARCH_PPC
   };
   static constexpr HostRuntimeMap map{table};
   static_assert(map.Verify(), "map must be sorted");


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124423.425082.patch
Type: text/x-patch
Size: 941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220426/bc4fa125/attachment.bin>


More information about the flang-commits mailing list