projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pointer arithmetic should be done with the index the same size as the pointer.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
rdtsc.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep rdtsc
2
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86-64 | grep rdtsc
3
4
declare ulong %llvm.readcyclecounter()
5
6
ulong %foo() {
7
%tmp.1 = call ulong %llvm.readcyclecounter ()
8
ret ulong %tmp.1
9
}
10