[PATCH] D49068: Fixing builtin __atomic_fetch_min definition

Omer Paparo Bivas via Phabricator via llvm-commits llvm-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 rL336658: Fixing builtin __atomic_fetch_min declaration (authored by opaparo, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D49068?vs=154567&id=154776#toc

Repository:
  rC Clang

https://reviews.llvm.org/D49068

Files:
  cfe/trunk/include/clang/Basic/Builtins.def


Index: cfe/trunk/include/clang/Basic/Builtins.def
===================================================================
--- cfe/trunk/include/clang/Basic/Builtins.def
+++ cfe/trunk/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.154776.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180710/b53aa5a2/attachment.bin>


More information about the llvm-commits mailing list