1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/CodeGen/X86/rdtsc.ll

10 lines
172 B
LLVM
Raw Normal View History

2005-11-20 22:42:49 +01:00
; RUN: llvm-as < %s | llc -march=x86 | grep rdtsc
declare ulong %llvm.readcyclecounter()
ulong %foo() {
%tmp.1 = call ulong %llvm.readcyclecounter ()
ret ulong %tmp.1
}