Home | History | Annotate | Download | only in Blackfin
      1 ; RUN: llc < %s -march=bfin -verify-machineinstrs
      2 
      3 declare i64 @llvm.cttz.i64(i64) nounwind readnone
      4 
      5 declare i16 @llvm.cttz.i16(i16) nounwind readnone
      6 
      7 declare i8 @llvm.cttz.i8(i8) nounwind readnone
      8 
      9 define void @cttztest(i8 %A, i16 %B, i32 %C, i64 %D, i8* %AP, i16* %BP, i32* %CP, i64* %DP) {
     10 	%a = call i8 @llvm.cttz.i8(i8 %A)		; <i8> [#uses=1]
     11 	%b = call i16 @llvm.cttz.i16(i16 %B)		; <i16> [#uses=1]
     12 	%d = call i64 @llvm.cttz.i64(i64 %D)		; <i64> [#uses=1]
     13 	store i8 %a, i8* %AP
     14 	store i16 %b, i16* %BP
     15 	store i64 %d, i64* %DP
     16 	ret void
     17 }
     18