blob: 4211d82268d277b7eda25d5996c89c9bf11c24e4 [file] [log] [blame]
Nadav Rotem47206112011-06-20 07:15:58 +00001; RUN: llc -promote-elements < %s -march=x86-64
2
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