Sign in
swiftshader
/
SwiftShader
/
d7622ffdd25e2d6f51d14d07b6f298de6842d842
/
.
/
third_party
/
LLVM
/
test
/
CodeGen
/
Thumb2
/
thumb2-clz.ll
blob: 00a54a0f1952adfc88cab3d7f36c80c39707a33f [
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
)
ret
i32
%tmp
}
declare
i32
@llvm.ctlz.i32
(
i32
)
nounwind
readnone