You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
250 B

; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK-LABEL: test_readcyclecounter
; CHECK: r1:0 = c15:14
define i64 @test_readcyclecounter() nounwind {
%t0 = call i64 @llvm.readcyclecounter()
ret i64 %t0
}
declare i64 @llvm.readcyclecounter()