2017-08-02 08:28:10 +08:00
|
|
|
; RUN: llc < %s -mtriple=x86_64--
|
2011-06-20 15:15:58 +08:00
|
|
|
|
|
|
|
define<4 x i8> @func_8_64() {
|
2015-02-28 05:17:42 +08:00
|
|
|
%F = load <4 x i64>, <4 x i64>* undef
|
2011-06-20 15:15:58 +08:00
|
|
|
%G = trunc <4 x i64> %F to <4 x i8>
|
2015-02-28 05:17:42 +08:00
|
|
|
%H = load <4 x i64>, <4 x i64>* undef
|
2011-06-20 15:15:58 +08:00
|
|
|
%Y = trunc <4 x i64> %H to <4 x i8>
|
|
|
|
%T = add <4 x i8> %Y, %G
|
|
|
|
ret <4 x i8> %T
|
|
|
|
}
|
|
|
|
|