Improve the loading of load-anyext vectors by allowing the codegen to load
[oota-llvm.git] / test / CodeGen / X86 / 2012-07-10-extload64.ll
1 ; RUN: llc < %s -march=x86 -mcpu=corei7 -mtriple=i686-pc-win32 | FileCheck %s
2
3 ; CHECK: load_store
4 define void @load_store(<4 x i16>* %in) {
5 entry:
6   %A27 = load <4 x i16>* %in, align 4
7   %A28 = add <4 x i16> %A27, %A27
8   store <4 x i16> %A28, <4 x i16>* %in, align 4
9   ret void
10 ; CHECK: movd
11 ; CHECK: pinsrd
12 ; CHECK: ret
13 }