mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
12 lines
261 B
LLVM
12 lines
261 B
LLVM
|
; RUN: llc -promote-elements < %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
|
||
|
}
|
||
|
|