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
Chris Lattner 6efddab321 This should not be dce'd
llvm-svn: 24433
2005-11-20 21:46:52 +00:00

10 lines
172 B
LLVM

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