This commit simultaneously moves these three functions to the CLC library and optimizing them for vector types by avoiding scalarization.
16 lines
537 B
Common Lisp
16 lines
537 B
Common Lisp
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include <clc/clc.h>
|
|
#include <clc/clcmacro.h>
|
|
#include <clc/math/clc_atan.h>
|
|
|
|
#undef __CLC_FUNCTION
|
|
#define __CLC_FUNCTION atan
|
|
#include <clc/math/unary_builtin.inc>
|