Dan Gohman | da594cf | 2009-09-09 00:09:15 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7a | grep "clz " | count 1 |
David Goodwin | 7e2af1b | 2009-06-26 20:47:43 +0000 | [diff] [blame] | 2 | |
3 | define i32 @f1(i32 %a) { | ||||
4 | %tmp = tail call i32 @llvm.ctlz.i32(i32 %a) | ||||
5 | ret i32 %tmp | ||||
6 | } | ||||
7 | |||||
8 | declare i32 @llvm.ctlz.i32(i32) nounwind readnone |