1 ; RUN: llc -march=hexagon < %s | FileCheck %s 2 3 ; CHECK-LABEL: test_readcyclecounter 4 ; CHECK: r1:0 = c15:14 5 define i64 @test_readcyclecounter() nounwind { 6 %t0 = call i64 @llvm.readcyclecounter() 7 ret i64 %t0 8 } 9 10 declare i64 @llvm.readcyclecounter() 11