1
0
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:
Andrew Lenharth 2005-11-20 21:41:59 +00:00
parent a369904fc5
commit 957fb1697e

View 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
}