ARM pop of a single register encodes as post-indexed LDR.
[oota-llvm.git] / test / CodeGen / ARM / clz.ll
1 ; RUN: llc < %s -march=arm -mattr=+v5t | FileCheck %s
2
3 declare i32 @llvm.ctlz.i32(i32)
4
5 define i32 @test(i32 %x) {
6 ; CHECK: test
7 ; CHECK: clz r0, r0
8         %tmp.1 = call i32 @llvm.ctlz.i32( i32 %x )
9         ret i32 %tmp.1
10 }