xref: /llvm-project/llvm/test/CodeGen/ARM/clz.ll (revision f697c038834f36190d6d93353ea3b1fababe6faf)
1; RUN: llvm-as < %s | llc -march=arm -mattr=+v5t | grep clz
2
3declare i32 @llvm.ctlz.i32(i32)
4
5define i32 @test(i32 %x) {
6        %tmp.1 = call i32 @llvm.ctlz.i32( i32 %x )              ; <i32> [#uses=1]
7        ret i32 %tmp.1
8}
9