Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
f895dbeb29b63f775e341f53ab92609c8da25392
/
.
/
test
/
CodeGen
/
ARM
/
ispositive.ll
blob: 245ed516f70bc08d08cfe41b19202e16af355ce4 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=arm | FileCheck %s
define
i32
@test1
(
i32
%X
)
{
; CHECK: mov r0, r0, lsr #31
entry
:
icmp
slt
i32
%X
,
0
; <i1>:0 [#uses=1]
zext
i1
%0
to
i32
; <i32>:1 [#uses=1]
ret
i32
%1
}