-declare int "test"(...) ; Test differences of prototype
-declare int "test"() ; Differ only by vararg
+declare int "test"(int) ; Test forward declaration merging
-<4 x uint> %test_shufflevector(<4 x uint> %V) {
+<4 x uint> %test_shufflevector_u(<4 x uint> %V) {
%R = shufflevector <4 x uint> %V, <4 x uint> %V,
<4 x uint> < uint 1, uint undef, uint 7, uint 2>
ret <4 x uint> %R
}
%R = shufflevector <4 x uint> %V, <4 x uint> %V,
<4 x uint> < uint 1, uint undef, uint 7, uint 2>
ret <4 x uint> %R
}
-<4 x float> %test_shufflevector(<4 x float> %V) {
+<4 x float> %test_shufflevector_f(<4 x float> %V) {
%R = shufflevector <4 x float> %V, <4 x float> undef,
<4 x uint> < uint 1, uint undef, uint 7, uint 2>
ret <4 x float> %R
%R = shufflevector <4 x float> %V, <4 x float> undef,
<4 x uint> < uint 1, uint undef, uint 7, uint 2>
ret <4 x float> %R