check that rdtsc is generated from readcyclecounter
llvm-svn: 24431
This commit is contained in:
parent
0bf68ae434
commit
c943f6bfae
|
@ -0,0 +1,10 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep rptsc
|
||||
|
||||
declare ulong %llvm.readcyclecounter()
|
||||
|
||||
void %foo() {
|
||||
entry:
|
||||
%tmp.1 = call ulong %llvm.readcyclecounter ()
|
||||
ret void
|
||||
}
|
||||
|
Loading…
Reference in New Issue