repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PR4789. Teach eliminateFrameIndex how to handle VLDRQ and VSTRQ which cannot...
[llvm/avr.git]
/
test
/
CodeGen
/
Blackfin
/
cycles.ll
blob
745e25947b06c17f30a353140966dda129d42b2b
1
; RUN: llvm-as < %s | llc -march=bfin | FileCheck %s
2
3
declare i64 @llvm.readcyclecounter()
4
5
; CHECK: cycles
6
; CHECK: cycles2
7
define i64 @cyc64() {
8
%tmp.1 = call i64 @llvm.readcyclecounter()
9
ret i64 %tmp.1
10
}
11
12
; CHECK: cycles
13
define i32@cyc32() {
14
%tmp.1 = call i64 @llvm.readcyclecounter()
15
%s = trunc i64 %tmp.1 to i32
16
ret i32 %s
17
}