Skip to content

Commit

Permalink
Fixing builtin __atomic_fetch_min declaration
Browse files Browse the repository at this point in the history
Differential Revision: http://reviews.llvm.org/D49068

llvm-svn: 336658
  • Loading branch information
omer-paparo-bivas committed Jul 10, 2018
1 parent e6057bc commit d2f5a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/Basic/Builtins.def
Expand Up @@ -723,7 +723,7 @@ ATOMIC_BUILTIN(__opencl_atomic_fetch_min, "v.", "t")
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
Expand Down

0 comments on commit d2f5a6f

Please sign in to comment.