From: Matt Arsenault Date: Tue, 24 Jun 2014 20:58:46 +0000 (+0000) Subject: Forgot to add file in r211631 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c16ee52c603fbc52fff5fc049b564a4e01e0e95f;p=clang Forgot to add file in r211631 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211632 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/BuiltinsR600.def b/include/clang/Basic/BuiltinsR600.def new file mode 100644 index 0000000000..e0812d7945 --- /dev/null +++ b/include/clang/Basic/BuiltinsR600.def @@ -0,0 +1,20 @@ +//==- BuiltinsR600.def - R600 Builtin function database ----------*- C++ -*-==// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file defines the R600-specific builtin function database. Users of this +// file must define the BUILTIN macro to make use of this information. +// +//===----------------------------------------------------------------------===// + +// The format of this database matches clang/Basic/Builtins.def. + +BUILTIN(__builtin_amdgpu_div_scale, "dddbb*", "n") +BUILTIN(__builtin_amdgpu_div_scalef, "fffbb*", "n") + +#undef BUILTIN