mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-23 13:02:52 +02:00
5f6e9d5ffe
multiple scalars and insert them into a vector. Next, we shuffle the elements into the correct places, as before. Also fix a small dagcombine bug in SimplifyBinOpWithSameOpcodeHands, when the migration of bitcasts happened too late in the SelectionDAG process. llvm-svn: 159991
14 lines
324 B
LLVM
14 lines
324 B
LLVM
; RUN: llc < %s -march=x86 -mcpu=corei7 -mtriple=i686-pc-win32 | FileCheck %s
|
|
|
|
; CHECK: load_store
|
|
define void @load_store(<4 x i16>* %in) {
|
|
entry:
|
|
%A27 = load <4 x i16>* %in, align 4
|
|
%A28 = add <4 x i16> %A27, %A27
|
|
store <4 x i16> %A28, <4 x i16>* %in, align 4
|
|
ret void
|
|
; CHECK: movd
|
|
; CHECK: pinsrd
|
|
; CHECK: ret
|
|
}
|