repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git]
/
test
/
CodeGen
/
SPARC
/
readcycle.ll
blob
5c8dfb493a1998b2cf037f8982209e66c5287345
1
; RUN: llc < %s -march=sparc -mcpu=gr740 -verify-machineinstrs | FileCheck %s
2
; CHECK: rd %asr23, %o1
3
; CHECK: mov %g0, %o0
4
5
define i64 @test() {
6
entry:
7
%0 = call i64 @llvm.readcyclecounter()
8
ret i64 %0
9
}
10
11
declare i64 @llvm.readcyclecounter()