1 ; RUN: llvm-as < %s | llvm-dis -disable-output
2 ; RUN: verify-uselistorder < %s
4 ; <rdar://problem/8622574>
5 ; tests the bitcodereader can handle the case where the reader will initially
6 ; create shuffle with a place holder mask.
9 define <4 x float> @test(<2 x double> %d2) {
11 %call20.i = tail call <4 x float> @cmp(<2 x double> %d2,
12 <2 x double> bitcast (
13 <4 x float> shufflevector (
14 <3 x float> shufflevector (
15 <4 x float> shufflevector (
18 i128 bitcast (<2 x double> bitcast (
19 <4 x i32> <i32 0, i32 0, i32 0, i32 undef> to <2 x double>)
23 <4 x i32> <i32 0, i32 1, i32 2, i32 undef>),
25 <3 x i32> <i32 0, i32 1, i32 2>),
27 <4 x i32> <i32 0, i32 1, i32 2, i32 undef>)
29 ret <4 x float> %call20.i
32 declare <4 x float> @cmp(<2 x double>, <2 x double>)