summaryrefslogtreecommitdiff
path: root/test/Linker
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-02 20:40:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-02 20:40:30 +0000
commitae8e54af9d675b005f1a9edff06243d62be6e4fe (patch)
tree25f0b767a203efacf44ea84fcad2b5342b1f58d8 /test/Linker
parenta090f1f83c4eca9fdf38a3e29c1f050f5426281c (diff)
downloadllvm-ae8e54af9d675b005f1a9edff06243d62be6e4fe.tar.gz
llvm-ae8e54af9d675b005f1a9edff06243d62be6e4fe.tar.bz2
llvm-ae8e54af9d675b005f1a9edff06243d62be6e4fe.tar.xz
These files need llvm-upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32136 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/2003-11-18-TypeResolution.ll2
-rw-r--r--test/Linker/ConstantGlobals1.ll2
-rw-r--r--test/Linker/ConstantGlobals2.ll4
-rw-r--r--test/Linker/ConstantGlobals3.ll4
4 files changed, 6 insertions, 6 deletions
diff --git a/test/Linker/2003-11-18-TypeResolution.ll b/test/Linker/2003-11-18-TypeResolution.ll
index 946c6a268f..79d9fa426f 100644
--- a/test/Linker/2003-11-18-TypeResolution.ll
+++ b/test/Linker/2003-11-18-TypeResolution.ll
@@ -4,7 +4,7 @@
; little symbol table. This is causing llvm-link to die, at no fault of its
; own.
-; RUN: llvm-as < %s > %t.out2.bc
+; RUN: llvm-upgrade %s | llvm-as > %t.out2.bc
; RUN: echo "%T1 = type opaque %GVar = external global %T1*" | llvm-as > %t.out1.bc
; RUN: llvm-link %t.out[12].bc
diff --git a/test/Linker/ConstantGlobals1.ll b/test/Linker/ConstantGlobals1.ll
index dac0ac043b..ac2d5c0457 100644
--- a/test/Linker/ConstantGlobals1.ll
+++ b/test/Linker/ConstantGlobals1.ll
@@ -1,7 +1,7 @@
; Test that appending linkage works correctly when arrays are the same size.
; RUN: echo "%X = constant [1x int] [int 8]" | llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
+; RUN: llvm-upgrade %s | llvm-as > %t.1.bc
; RUN: llvm-link %t.[12].bc | llvm-dis | grep constant
%X = uninitialized global [1 x int]
diff --git a/test/Linker/ConstantGlobals2.ll b/test/Linker/ConstantGlobals2.ll
index 5130dd4d91..3650c5f9bc 100644
--- a/test/Linker/ConstantGlobals2.ll
+++ b/test/Linker/ConstantGlobals2.ll
@@ -1,7 +1,7 @@
; Test that appending linkage works correctly when arrays are the same size.
-; RUN: echo "%X = uninitialized global [1x int]" | llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
+; RUN: echo "%X = external global [1x int]" | llvm-as > %t.2.bc
+; RUN: llvm-upgrade %s | llvm-as > %t.1.bc
; RUN: llvm-link %t.[12].bc | llvm-dis | grep constant
%X = constant [1 x int] [ int 12 ]
diff --git a/test/Linker/ConstantGlobals3.ll b/test/Linker/ConstantGlobals3.ll
index 8b8e27ee9f..58727060c1 100644
--- a/test/Linker/ConstantGlobals3.ll
+++ b/test/Linker/ConstantGlobals3.ll
@@ -1,7 +1,7 @@
; Test that appending linkage works correctly when arrays are the same size.
-; RUN: echo "%X = uninitialized constant [1x int]" | llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
+; RUN: echo "%X = external constant [1x int]" | llvm-as > %t.2.bc
+; RUN: llvm-upgrade %s | llvm-as > %t.1.bc
; RUN: llvm-link %t.[12].bc | llvm-dis | grep constant
%X = uninitialized global [1 x int]