Sign in
llvm
/
llvm
/
refs/heads/release_20
/
.
/
test
/
Transforms
/
InstCombine
/
cast-cast-to-and.ll
blob: 97386bb5384272289725538edcbe07a4218f1163 [
file
] [
log
] [
blame
]
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: 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
}