1 ; RUN: llc < %s -march=bfin
3 declare i64 @llvm.ctlz.i64(i64)
4 declare i64 @llvm.cttz.i64(i64)
5 declare i64 @llvm.ctpop.i64(i64)
7 define i64 @ctlztest(i64 %B) {
8 %b = call i64 @llvm.ctlz.i64( i64 %B )
12 define i64 @cttztest(i64 %B) {
13 %b = call i64 @llvm.cttz.i64( i64 %B )
17 define i64 @ctpoptest(i64 %B) {
18 %b = call i64 @llvm.ctpop.i64( i64 %B )