aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]