blob: 042cb57ffc9ea3282b9ee7b02f4768c9a7072670 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
; RUN: llvm-as < %s | llc -march=bfin | grep cycles
; XFAIL: *
; ExpandIntegerResult #0: 0x181a60c: i64,ch = ReadCycleCounter 0x1104b08
; Do not know how to expand the result of this operator!
declare i64 @llvm.readcyclecounter()
define i64 @foo() {
%tmp.1 = call i64 @llvm.readcyclecounter()
ret i64 %tmp.1
}
|