[PATCH] D92130: [HIP] cmath promote long double args to double
Aaron Enye Shi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 3 15:01:01 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGba2612ce01ea: [HIP] cmath demote long double args to double (authored by ashi1).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92130/new/
https://reviews.llvm.org/D92130
Files:
clang/lib/Headers/__clang_hip_cmath.h
Index: clang/lib/Headers/__clang_hip_cmath.h
===================================================================
--- clang/lib/Headers/__clang_hip_cmath.h
+++ clang/lib/Headers/__clang_hip_cmath.h
@@ -224,6 +224,8 @@
static double __test(long long);
static double __test(unsigned long long);
static double __test(double);
+ // No support for long double, use double instead.
+ static double __test(long double);
typedef decltype(__test(std::declval<_Tp>())) type;
static const bool value = !std::is_same<type, void>::value;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92130.309378.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201203/d62afe58/attachment.bin>
More information about the cfe-commits
mailing list