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