Reid Spencer | eb1d74e | 2007-04-16 17:36:08 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v5t | grep clz |
Evan Cheng | 02b985c | 2007-01-19 09:20:23 +0000 | [diff] [blame] | 2 | |
3 | declare uint %llvm.ctlz.i32(uint) | ||||
4 | |||||
5 | uint %test(uint %x) { | ||||
6 | %tmp.1 = call uint %llvm.ctlz.i32( uint %x ) | ||||
7 | ret uint %tmp.1 | ||||
8 | } |