Analog Devices Blackfin back-end.
[oota-llvm.git] / test / CodeGen / Blackfin / cycles.ll
1 ; RUN: llvm-as < %s | llc -march=bfin | grep cycles
2 ; XFAIL: *
3 ; ExpandIntegerResult #0: 0x181a60c: i64,ch = ReadCycleCounter 0x1104b08
4 ; Do not know how to expand the result of this operator!
5
6 declare i64 @llvm.readcyclecounter()
7
8 define i64 @foo() {
9         %tmp.1 = call i64 @llvm.readcyclecounter()
10         ret i64 %tmp.1
11 }