repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs in register stack pass.
[llvm/zpu.git]
/
test
/
CodeGen
/
X86
/
rdtsc.ll
blob
f21a44c36073b63342e3bc3b81c04d68047e07d1
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
}