[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / Hexagon / readcyclecounter.ll
blob0a60c94b019c58af7cb19f8e81630589c8c65738
1 ; RUN: llc -march=hexagon < %s | FileCheck %s
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
10 declare i64 @llvm.readcyclecounter()