mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
fcb2c3cf5e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157925 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
243 B
LLVM
12 lines
243 B
LLVM
; RUN: llc < %s -march=x86-64
|
|
|
|
define<4 x i8> @func_8_64() {
|
|
%F = load <4 x i64>* undef
|
|
%G = trunc <4 x i64> %F to <4 x i8>
|
|
%H = load <4 x i64>* undef
|
|
%Y = trunc <4 x i64> %H to <4 x i8>
|
|
%T = add <4 x i8> %Y, %G
|
|
ret <4 x i8> %T
|
|
}
|
|
|