[libc][test] Adjust header paths in tests (#119623)
[llvm-project.git] / clang / test / CodeGen / X86 / pku.c
blob0f73756fa5cca1017faab3d27a826628b9b5699a
1 // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +pku -emit-llvm -o - -Wall -Werror | FileCheck %s
4 #include <immintrin.h>
6 unsigned int test_rdpkru_u32(void) {
7 // CHECK-LABEL: @test_rdpkru_u32
8 // CHECK: @llvm.x86.rdpkru
9 return _rdpkru_u32();
11 void test_wrpkru(unsigned int __A) {
12 // CHECK-LABEL: @test_wrpkru
13 // CHECK: @llvm.x86.wrpkru
14 _wrpkru(__A);
15 return ;