llvm-project/llvm/test/CodeGen/Alpha/rpcc.ll

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
}