[Instrumentation] Fix a warning
[llvm-project.git] / clang / lib / Headers / ppc_wrappers / x86intrin.h
blobf5c201262e69e90bc5f25e1e1e2a109b2e34893b
1 /*===---- x86intrin.h - Implementation of X86 intrinsics on PowerPC --------===
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *===-----------------------------------------------------------------------===
8 */
10 #ifndef NO_WARN_X86_INTRINSICS
11 /* This header is distributed to simplify porting x86_64 code that
12 makes explicit use of Intel intrinsics to powerpc64le.
13 It is the user's responsibility to determine if the results are
14 acceptable and make additional changes as necessary.
15 Note that much code that uses Intel intrinsics can be rewritten in
16 standard C or GNU C extensions, which are more portable and better
17 optimized across multiple targets. */
18 #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
19 #endif
21 #ifndef X86INTRIN_H_
22 #define X86INTRIN_H_
24 #ifdef __ALTIVEC__
25 #include <immintrin.h>
26 #endif /* __ALTIVEC__ */
28 #endif /* X86INTRIN_H_ */