repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Hexagon
/
readcyclecounter.ll
blob
0a60c94b019c58af7cb19f8e81630589c8c65738
1
; RUN: llc -march=hexagon < %s | FileCheck %s
2
3
; CHECK-LABEL: test_readcyclecounter
4
; CHECK: r1:0 = c15:14
5
define i64 @test_readcyclecounter() nounwind {
6
%t0 = call i64 @llvm.readcyclecounter()
7
ret i64 %t0
8
}
9
10
declare i64 @llvm.readcyclecounter()