llvm.org GIT mirror llvm / bbafae6
check that rdtsc is generated from readcyclecounter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24431 91177308-0d34-0410-b5e6-96231b3b80d8 Andrew Lenharth 14 years ago
1 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=x86 | grep rptsc
1
2 declare ulong %llvm.readcyclecounter()
3
4 void %foo() {
5 entry:
6 %tmp.1 = call ulong %llvm.readcyclecounter ()
7 ret void
8 }
9