[PATCH] D49068: Fixing builtin __atomic_fetch_min definition

Omer Paparo Bivas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 10 05:09:17 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rC336658: Fixing builtin __atomic_fetch_min declaration (authored by opaparo, committed by ).

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
@@ -723,7 +723,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.154777.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180710/5aa67906/attachment.bin>


More information about the cfe-commits mailing list