mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
check that rdtsc is generated from readcyclecounter
llvm-svn: 24431
This commit is contained in:
parent
a369904fc5
commit
957fb1697e
10
test/Regression/CodeGen/X86/rdtsc.ll
Normal file
10
test/Regression/CodeGen/X86/rdtsc.ll
Normal file
@ -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
Block a user