[PATCH] D49068: Fixing builtin __atomic_fetch_min definition
Omer Paparo Bivas via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 9 04:13:13 PDT 2018
opaparo created this revision.
opaparo added a reviewer: delena.
Herald added a subscriber: cfe-commits.
Repository:
rC Clang
https://reviews.llvm.org/D49068
Files:
include/clang/Basic/Builtins.def
Index: include/clang/Basic/Builtins.def
===================================================================
--- include/clang/Basic/Builtins.def
+++ include/clang/Basic/Builtins.def
@@ -722,7 +722,7 @@
ATOMIC_BUILTIN(__opencl_atomic_fetch_max, "v.", "t")
// GCC does not support these, they are a Clang extension.
-ATOMIC_BUILTIN(__atomic_fetch_min, "iiD*i.", "t")
+ATOMIC_BUILTIN(__atomic_fetch_min, "v.", "t")
ATOMIC_BUILTIN(__atomic_fetch_max, "v.", "t")
#undef ATOMIC_BUILTIN
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49068.154567.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180709/177d2c9f/attachment.bin>
More information about the cfe-commits
mailing list