blob: 40a58b0739247983e6bdbdeef5abde02289dd705 [file] [log] [blame]
Nadav Rotemfcb2c3c2012-06-04 11:27:21 +00001; RUN: llc < %s -march=x86-64
Nadav Rotem47206112011-06-20 07:15:58 +00002
3define<4 x i8> @func_8_64() {
4 %F = load <4 x i64>* undef
5 %G = trunc <4 x i64> %F to <4 x i8>
6 %H = load <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