Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / vec-trunc-store.ll
1 ; RUN: llc < %s -march=x86-64
2
3 define void @foo(<8 x i32>* %p) nounwind {
4   %t = load <8 x i32>, <8 x i32>* %p
5   %cti69 = trunc <8 x i32> %t to <8 x i16>     ; <<8 x i16>> [#uses=1]
6   store <8 x i16> %cti69, <8 x i16>* undef
7   ret void
8 }
9
10 define void @bar(<4 x i32>* %p) nounwind {
11   %t = load <4 x i32>, <4 x i32>* %p
12   %cti44 = trunc <4 x i32> %t to <4 x i16>     ; <<4 x i16>> [#uses=1]
13   store <4 x i16> %cti44, <4 x i16>* undef
14   ret void
15 }