From: Reid Spencer Date: Sun, 7 Jan 2007 19:33:49 +0000 (+0000) Subject: Redefinition of functions is no longer permitted. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=161a4c9d79bdf87482c5d4bbfd1240d2a8779e5a;p=oota-llvm.git Redefinition of functions is no longer permitted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33000 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Feature/calltest.ll b/test/Feature/calltest.ll index 090e840007e..f015223c5d7 100644 --- a/test/Feature/calltest.ll +++ b/test/Feature/calltest.ll @@ -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 diff --git a/test/Feature/instructions.ll b/test/Feature/instructions.ll index 281dafb5a20..68674917751 100644 --- a/test/Feature/instructions.ll +++ b/test/Feature/instructions.ll @@ -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