mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
142428ce64
llvm-svn: 81293
10 lines
214 B
LLVM
10 lines
214 B
LLVM
; RUN: llc < %s -march=alpha | grep rpcc
|
|
|
|
declare i64 @llvm.readcyclecounter()
|
|
|
|
define i64 @foo() {
|
|
entry:
|
|
%tmp.1 = call i64 @llvm.readcyclecounter( ) ; <i64> [#uses=1]
|
|
ret i64 %tmp.1
|
|
}
|