Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
ddb265b905cf83c44bfa0819c3a80dc13f29173f
/
.
/
llvm
/
test
/
Transforms
/
InstCombine
/
shl-trunc.ll
blob: bfd41a87fc78f35e346c112ff4aa6d0cd55770fe [
file
] [
log
] [
blame
]
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep shl
bool
%test
(
int
%X
,
ubyte
%A
)
{
%B
=
lshr
int
%X
,
ubyte
%A
%D
=
trunc
int
%B
to
bool
ret
bool
%D
}