blob: 80b7cd8fee9bab1bb47baa2f8d78149fcb70beb5 [file] [log] [blame]
Evan Cheng02b985c2007-01-19 09:20:23 +00001; 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}