Home | History | Annotate | Download | only in Blackfin
      1 ; RUN: llc < %s -march=bfin
      2 
      3 declare i16 @llvm.ctlz.i16(i16)
      4 
      5 define i16 @ctlztest(i16 %B) {
      6 	%b = call i16 @llvm.ctlz.i16( i16 %B )		; <i16> [#uses=1]
      7 	ret i16 %b
      8 }
      9 define i16 @ctlztest_z(i16 zeroext %B) {
     10 	%b = call i16 @llvm.ctlz.i16( i16 %B )		; <i16> [#uses=1]
     11 	ret i16 %b
     12 }
     13 
     14 define i16 @ctlztest_s(i16 signext %B) {
     15 	%b = call i16 @llvm.ctlz.i16( i16 %B )		; <i16> [#uses=1]
     16 	ret i16 %b
     17 }
     18 
     19