aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Alpha/rpcc.ll
blob: 193a47f7ce3f1e50884f7e479025747429f3b5da (plain)
1
2
3
4
5
6
7
8
9
; 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
}