Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 | grep rdtsc
      2 ; RUN: llc < %s -march=x86-64 | grep rdtsc
      3 declare i64 @llvm.readcyclecounter()
      4 
      5 define i64 @foo() {
      6 	%tmp.1 = call i64 @llvm.readcyclecounter( )		; <i64> [#uses=1]
      7 	ret i64 %tmp.1
      8 }
      9