summaryrefslogtreecommitdiff
path: root/test/Feature
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-07 19:33:49 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-07 19:33:49 +0000
commit161a4c9d79bdf87482c5d4bbfd1240d2a8779e5a (patch)
treee9ed1563cc6f4d3db2c76494a95f302fcf680e56 /test/Feature
parent5c4a96dfc57811c2c8eb238e2f702fb5a9dd9574 (diff)
downloadllvm-161a4c9d79bdf87482c5d4bbfd1240d2a8779e5a.tar.gz
llvm-161a4c9d79bdf87482c5d4bbfd1240d2a8779e5a.tar.bz2
llvm-161a4c9d79bdf87482c5d4bbfd1240d2a8779e5a.tar.xz
Redefinition of functions is no longer permitted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/calltest.ll3
-rw-r--r--test/Feature/instructions.ll4
2 files changed, 3 insertions, 4 deletions
diff --git a/test/Feature/calltest.ll b/test/Feature/calltest.ll
index 090e840007..f015223c5d 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 281dafb5a2..6867491775 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