mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
aeb9bb8ba4
llvm-svn: 47296
10 lines
224 B
LLVM
10 lines
224 B
LLVM
; RUN: llvm-as < %s | llc -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
|
|
}
|