1 ; RUN: llc < %s -march=x86-64 -mattr=+bmi | FileCheck %s
3 define i32 @t1(i32 %x) nounwind {
4 %tmp = tail call i32 @llvm.cttz.i32( i32 %x )
10 declare i32 @llvm.cttz.i32(i32) nounwind readnone
12 define i16 @t2(i16 %x) nounwind {
13 %tmp = tail call i16 @llvm.cttz.i16( i16 %x )
19 declare i16 @llvm.cttz.i16(i16) nounwind readnone
21 define i64 @t3(i64 %x) nounwind {
22 %tmp = tail call i64 @llvm.cttz.i64( i64 %x )
28 declare i64 @llvm.cttz.i64(i64) nounwind readnone
30 define i8 @t4(i8 %x) nounwind {
31 %tmp = tail call i8 @llvm.cttz.i8( i8 %x )
37 declare i8 @llvm.cttz.i8(i8) nounwind readnone