blob: 4d665f1843efccc42c3885f9ab063d51a7f953e3 [file] [log] [blame]
Chris Lattner6f948be2010-12-19 20:12:58 +00001; RUN: llc < %s -march=x86-64
Dan Gohman2e141d72009-12-14 23:40:38 +00002
Dan Gohman0a13b892010-06-18 00:06:03 +00003define void @foo(<8 x i32>* %p) nounwind {
4 %t = load <8 x i32>* %p
5 %cti69 = trunc <8 x i32> %t to <8 x i16> ; <<8 x i16>> [#uses=1]
Dan Gohman2e141d72009-12-14 23:40:38 +00006 store <8 x i16> %cti69, <8 x i16>* undef
7 ret void
8}
9
Dan Gohman0a13b892010-06-18 00:06:03 +000010define void @bar(<4 x i32>* %p) nounwind {
11 %t = load <4 x i32>* %p
12 %cti44 = trunc <4 x i32> %t to <4 x i16> ; <<4 x i16>> [#uses=1]
Dan Gohman2e141d72009-12-14 23:40:38 +000013 store <4 x i16> %cti44, <4 x i16>* undef
14 ret void
15}