llvm.org GIT mirror llvm / release_25 test / CodeGen / ARM / clz.ll
release_25

Tree @release_25 (Download .tar.gz)

clz.ll @release_25raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | llc -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
}