summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/clz.ll
blob: d2235c9221cefdc53af65cff0c8add18434ec354 (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s -march=arm -mattr=+v5t | grep clz

declare i32 @llvm.ctlz.i32(i32)

define i32 @test(i32 %x) {
        %tmp.1 = call i32 @llvm.ctlz.i32( i32 %x )              ; <i32> [#uses=1]
        ret i32 %tmp.1
}
OpenPOWER on IntegriCloud