Skip to content
Snippets Groups Projects
Commit 968a5290 authored by Reid Spencer's avatar Reid Spencer
Browse files

Redefinition of functions is no longer permitted.

llvm-svn: 33000
parent 47d012e1
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,7 @@
%FunTy = type int(int)
declare int "test"(...) ; Test differences of prototype
declare int "test"() ; Differ only by vararg
declare int "test"(int) ; Test forward declaration merging
implementation
......
......@@ -12,13 +12,13 @@ uint %test_extractelement(<4 x uint> %V) {
ret <4 x uint> %R
}
<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
}
<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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment