[PATCH] D104034: [flang] Fixed simple typo in runtime code

Zachary Selk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 10 07:40:15 PDT 2021


zacharyselk created this revision.
zacharyselk requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104034

Files:
  flang/runtime/random.cpp


Index: flang/runtime/random.cpp
===================================================================
--- flang/runtime/random.cpp
+++ flang/runtime/random.cpp
@@ -103,7 +103,7 @@
     Generate<CppTypeFor<TypeCategory::Real, 10>, 64>(harvest);
     break;
 #elif LONG_DOUBLE == 128
-  case 4:
+  case 16:
     Generate<CppTypeFor<TypeCategory::Real, 16>, 113>(harvest);
     break;
 #endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104034.351172.patch
Type: text/x-patch
Size: 388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/da741a28/attachment.bin>


More information about the llvm-commits mailing list