From 0e928859430c7e15f3f9a3ceee9bf40a74b7e512 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 24 Jun 2014 20:58:46 +0000 Subject: [PATCH] Forgot to add file in r211631 llvm-svn: 211632 --- clang/include/clang/Basic/BuiltinsR600.def | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 clang/include/clang/Basic/BuiltinsR600.def diff --git a/clang/include/clang/Basic/BuiltinsR600.def b/clang/include/clang/Basic/BuiltinsR600.def new file mode 100644 index 0000000..e0812d7 --- /dev/null +++ b/clang/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 -- 2.7.4