repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Handle logical shift right (at least I hope so :) )
[llvm/msp430.git]
/
test
/
CodeGen
/
X86
/
rdtsc.ll
blob
f5d947fcbabb5957a06a4b9772398eede02a5b67
1
; RUN: llvm-as < %s | llc -march=x86 | grep rdtsc
2
; RUN: llvm-as < %s | llc -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
}