llvm.org GIT mirror llvm / 8f58a2e
Add a testcase for svn 111208. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111212 91177308-0d34-0410-b5e6-96231b3b80d8 Bob Wilson 9 years ago
1 changed file(s) with 14 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1616 store <8 x i16> %1, <8 x i16>* %agg.result12.1.0, align 16
1717 ret void
1818 }
19
20 ; Radar 8290937: Ignore undef shuffle indices.
21 ; CHECK: t2
22 ; CHECK: vtrn.16
23 define void @t2(%struct.int16x8x2_t* nocapture %ptr, <4 x i16> %a.0, <4 x i16> %b.0) nounwind {
24 entry:
25 %0 = shufflevector <4 x i16> %a.0, <4 x i16> undef, <8 x i32>
26 %1 = shufflevector <4 x i16> %a.0, <4 x i16> undef, <8 x i32>
27 %ptr26.0 = getelementptr inbounds %struct.int16x8x2_t* %ptr, i32 0, i32 0, i32 0, i32 0
28 store <8 x i16> %0, <8 x i16>* %ptr26.0, align 16
29 %ptr20.1.0 = getelementptr inbounds %struct.int16x8x2_t* %ptr, i32 0, i32 0, i32 1, i32 0
30 store <8 x i16> %1, <8 x i16>* %ptr20.1.0, align 16
31 ret void
32 }