Sign in
swiftshader
/
SwiftShader
/
48456333769d015c677c2a991e8e95b371fb8e4d
/
.
/
third_party
/
LLVM
/
test
/
CodeGen
/
X86
/
promote-trunc.ll
blob: 4211d82268d277b7eda25d5996c89c9bf11c24e4 [
file
] [
log
] [
blame
]
; RUN: llc -promote-elements < %s -march=x86-64
define
<
4
x
i8
>
@func_8_64
()
{
%F
=
load
<
4
x
i64
>*
undef
%G
=
trunc
<
4
x
i64
>
%F
to
<
4
x
i8
>
%H
=
load
<
4
x
i64
>*
undef
%Y
=
trunc
<
4
x
i64
>
%H
to
<
4
x
i8
>
%T
=
add
<
4
x
i8
>
%Y
,
%G
ret
<
4
x
i8
>
%T
}