Commit some changes I had managed to lose last night while refactoring the code....
[oota-llvm.git] / test / CodeGen / X86 / vec-trunc-store.ll
1 ; RUN: llc < %s -march=x86-64 -disable-mmx | grep punpcklwd | count 2
2
3 define void @foo() nounwind {
4   %cti69 = trunc <8 x i32> undef to <8 x i16>     ; <<8 x i16>> [#uses=1]
5   store <8 x i16> %cti69, <8 x i16>* undef
6   ret void
7 }
8
9 define void @bar() nounwind {
10   %cti44 = trunc <4 x i32> undef to <4 x i16>     ; <<4 x i16>> [#uses=1]
11   store <4 x i16> %cti44, <4 x i16>* undef
12   ret void
13 }