repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
X86
/
rdpid-builtins.c
blob
0816bd07ad1d72b7ae1b6745aa62e088abc16e5b
1
// RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown -target-feature +rdpid -emit-llvm -o - %s | FileCheck %s
2
3
4
#include <immintrin.h>
5
6
unsigned int
test_rdpid_u32
(
void
) {
7
// CHECK-LABEL: @test_rdpid_u32
8
// CHECK: call i32 @llvm.x86.rdpid
9
return
_rdpid_u32
();
10
}