1 ; RUN: llc -mtriple=aarch64 < %s | FileCheck %s
4 define i64 @test_readcyclecounter() nounwind {
5 ; CHECK-LABEL: test_readcyclecounter:
7 ; CHECK-NEXT: mrs x0, CNTVCT_EL0
9 %tmp0 = call i64 @llvm.readcyclecounter()
13 declare i64 @llvm.readcyclecounter()