blob: 0bed0585b5d16caa5889833ae332bbe91b37c938 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7a | grep "clz " | count 1
David Goodwin24062ac2009-06-26 20:47:43 +00002
3define i32 @f1(i32 %a) {
4 %tmp = tail call i32 @llvm.ctlz.i32(i32 %a)
5 ret i32 %tmp
6}
7
8declare i32 @llvm.ctlz.i32(i32) nounwind readnone