Sign in
swiftshader
/
SwiftShader
/
eb0a25a189b75d950ae4f87c00f8d63f190d82a0
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
Hexagon
/
bit-skip-byval.ll
blob: 9ee4014ae346ad9df5da925109860ec4efc8428c [
file
] [
log
] [
blame
]
; RUN: llc -march=hexagon < %s | FileCheck %s
;
; Either and or zxtb.
; CHECK: r0 = and(r1,#255)
%struct.t0
=
type
{
i32
}
define
i32
@foo
(
%struct.t0
*
byval
align
8
%s
,
i8
zeroext
%t
,
i8
%u
)
#
0
{
%a
=
zext
i8
%u
to
i32
ret
i32
%a
}