Merging r261039:
[oota-llvm.git] / test / CodeGen / X86 / promote-trunc.ll
1 ; RUN: llc < %s -march=x86-64
2
3 define<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