Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
swiftshader
/
20507fa9c209d607b92448b4563b70fb73978d14
/
.
/
third_party
/
LLVM
/
test
/
CodeGen
/
PowerPC
/
setcc_no_zext.ll
blob: 12a8ed85ac98afe9f2657fb4d888f0ec2f218aa5 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=ppc32 | not grep rlwinm
define
i32
@setcc_one_or_zero
(
i32
*
%a
)
{
entry
:
%tmp.1
=
icmp
ne
i32
*
%a
,
null
; <i1> [#uses=1]
%inc.1
=
zext
i1
%tmp.1
to
i32
; <i32> [#uses=1]
ret
i32
%inc.1
}