xref: /llvm-project/llvm/test/CodeGen/ARM/clz.ll (revision a5007faaa68de9487fe63b690bea6e16c3c5f770)
1; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
2; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v5t | grep "clz"
3
4declare uint %llvm.ctlz.i32(uint)
5
6uint %test(uint %x) {
7	%tmp.1 = call uint %llvm.ctlz.i32( uint %x )
8	ret uint %tmp.1
9}
10