xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/promote-trunc.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=x86-64
2
3define<4 x i8> @func_8_64() {
4  %F = load <4 x i64>, <4 x i64>* undef
5  %G = trunc <4 x i64> %F to <4 x i8>
6  %H = load <4 x i64>, <4 x i64>* undef
7  %Y = trunc <4 x i64> %H to <4 x i8>
8  %T = add <4 x i8> %Y, %G
9  ret <4 x i8> %T
10}
11
12