Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
9f7ab3a3cddb6b6f03d2a072f1318dac284fc36d
/
.
/
llvm
/
test
/
Regression
/
Transforms
/
InstCombine
/
zeroext-and-reduce.ll
blob: 2d30f910dcdfcc98fa054edfd96db5a9d84dcc96 [
file
] [
log
] [
blame
]
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'and i32 %Y, 8'
int
%test1
(
ubyte
%X
)
{
%Y
=
cast
ubyte
%X
to
int
%Z
=
and
int
%Y
,
65544
;; Prune this to and Y, 8
ret
int
%Z
}