Sign in
cobalt
/
cobalt
/
b6855995c22e1d087309b04ad43845d3c6e263ee
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
test
/
CodeGen
/
ARM
/
clz.ll
blob: 68e8c7cef1bccb566dc6f73175755fece6896cd1 [
file
] [
log
] [
blame
]
; RUN: llc -mtriple=arm-eabi -mattr=+v5t %s -o - | FileCheck %s
declare
i32
@llvm.ctlz.i32
(
i32
,
i1
)
define
i32
@test
(
i32
%x
)
{
; CHECK: test
; CHECK: clz r0, r0
%tmp.1
=
call
i32
@llvm.ctlz.i32
(
i32
%x
,
i1
true
)
ret
i32
%tmp.1
}