Sign in
ara-mdk
/
platform
/
external
/
llvm
/
7e6274dc66895c11a5743dad7d95a2a255819f91
/
.
/
test
/
CodeGen
/
Thumb2
/
thumb2-clz.ll
blob: f7e966535d2fe4a2bb5b44d78beec9dd5befb314 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7 | FileCheck %s
define
i32
@f1
(
i32
%a
)
{
; CHECK: f1:
; CHECK: clz r
%tmp
=
tail
call
i32
@llvm.ctlz.i32
(
i32
%a
,
i1
true
)
ret
i32
%tmp
}
declare
i32
@llvm.ctlz.i32
(
i32
,
i1
)
nounwind
readnone