Sign in
llvm
/
llvm
/
refs/heads/release_16
/
.
/
test
/
Transforms
/
InstCombine
/
cast-cast-to-and.ll
blob: 0491de93495bae602560db1914e213a0586fd143 [
file
] [
log
] [
blame
]
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep ubyte
int
%test1
(
uint
%X
)
{
%Y
=
cast
uint
%X
to
ubyte
;; Turn into an AND
%Z
=
cast
ubyte
%Y
to
int
ret
int
%Z
}