[llvm-commits] CVS: llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll 2003-04-21-Linkage.ll 2003-04-23-LinkOnceLost.ll 2003-08-28-TypeResolvesGlobal.ll 2003-08-28-TypeResolvesGlobal2.ll 2003-08-28-TypeResolvesGlobal3.ll 2004-05-07-TypeResolution1.ll AppendingLinkage.ll testlink1.ll
Reid Spencer
reid at x10sys.com
Fri Dec 29 12:02:24 PST 2006
Changes in directory llvm/test/Regression/Linker:
2003-01-30-LinkerRename.ll updated: 1.3 -> 1.4
2003-04-21-Linkage.ll updated: 1.3 -> 1.4
2003-04-23-LinkOnceLost.ll updated: 1.3 -> 1.4
2003-08-28-TypeResolvesGlobal.ll updated: 1.3 -> 1.4
2003-08-28-TypeResolvesGlobal2.ll updated: 1.3 -> 1.4
2003-08-28-TypeResolvesGlobal3.ll updated: 1.3 -> 1.4
2004-05-07-TypeResolution1.ll updated: 1.1 -> 1.2
AppendingLinkage.ll updated: 1.4 -> 1.5
testlink1.ll updated: 1.13 -> 1.14
---
Log message:
Update tests that need to be run through llvm-upgrade. This is necessary
for upcoming changes to the llvm assembly grammar.
---
Diffs of the changes: (+22 -18)
2003-01-30-LinkerRename.ll | 5 +++--
2003-04-21-Linkage.ll | 4 ++--
2003-04-23-LinkOnceLost.ll | 5 +++--
2003-08-28-TypeResolvesGlobal.ll | 4 ++--
2003-08-28-TypeResolvesGlobal2.ll | 4 ++--
2003-08-28-TypeResolvesGlobal3.ll | 4 ++--
2004-05-07-TypeResolution1.ll | 5 +++--
AppendingLinkage.ll | 5 +++--
testlink1.ll | 4 ++--
9 files changed, 22 insertions(+), 18 deletions(-)
Index: llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll
diff -u llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll:1.3 llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll:1.4
--- llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll:1.3 Mon Sep 15 15:04:28 2003
+++ llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll Fri Dec 29 14:01:32 2006
@@ -1,8 +1,9 @@
; This fails because the linker renames the external symbol not the internal
; one...
-; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-as > %t.1.bc
-; RUN: llvm-as < %s > %t.2.bc
+; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-upgrade |\
+; RUN: llvm-as > %t.1.bc
+; RUN: llvm-upgrade < %s | llvm-as -o %t.2.bc -f
; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%foo()' | grep -v internal
implementation
Index: llvm/test/Regression/Linker/2003-04-21-Linkage.ll
diff -u llvm/test/Regression/Linker/2003-04-21-Linkage.ll:1.3 llvm/test/Regression/Linker/2003-04-21-Linkage.ll:1.4
--- llvm/test/Regression/Linker/2003-04-21-Linkage.ll:1.3 Mon Sep 15 15:04:28 2003
+++ llvm/test/Regression/Linker/2003-04-21-Linkage.ll Fri Dec 29 14:01:32 2006
@@ -1,5 +1,5 @@
-; RUN: echo "%X = linkonce global int 5 implementation linkonce int %foo() { ret int 7 }" | llvm-as > %t.1.bc
-; RUN: llvm-as < %s > %t.2.bc
+; RUN: echo "%X = linkonce global int 5 implementation linkonce int %foo() { ret int 7 }" | llvm-upgrade | llvm-as > %t.1.bc
+; RUN: llvm-upgrade < %s | llvm-as -o %t.2.bc -f
; RUN: llvm-link %t.[12].bc
%X = external global int
Index: llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll
diff -u llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll:1.3 llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll:1.4
--- llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll:1.3 Mon Sep 15 15:04:28 2003
+++ llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll Fri Dec 29 14:01:32 2006
@@ -1,8 +1,9 @@
; This fails because the linker renames the non-opaque type not the opaque
; one...
-; RUN: echo "implementation linkonce void %foo() { ret void } " | llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
+; RUN: echo "implementation linkonce void %foo() { ret void } " | llvm-upgrade|\
+; RUN: llvm-as -o %t.2.bc -f
+; RUN: llvm-upgrade < %s | llvm-as -o %t.1.bc -f
; RUN: llvm-link %t.[12].bc | llvm-dis | grep foo | grep linkonce
declare void %foo()
Index: llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal.ll
diff -u llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal.ll:1.3 llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal.ll:1.4
--- llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal.ll:1.3 Fri Sep 26 15:20:44 2003
+++ llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal.ll Fri Dec 29 14:01:32 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s > %t.out1.bc
-; RUN: echo "%S = type int" | llvm-as > %t.out2.bc
+; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
+; RUN: echo "%S = type int" | llvm-upgrade | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out[21].bc
%S = type opaque
Index: llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal2.ll
diff -u llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal2.ll:1.3 llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal2.ll:1.4
--- llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal2.ll:1.3 Fri Sep 26 15:20:44 2003
+++ llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal2.ll Fri Dec 29 14:01:32 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s > %t.out1.bc
-; RUN: echo "%S = type int" | llvm-as > %t.out2.bc
+; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
+; RUN: echo "%S = type int" | llvm-upgrade | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out[21].bc
%S = type opaque
Index: llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal3.ll
diff -u llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal3.ll:1.3 llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal3.ll:1.4
--- llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal3.ll:1.3 Fri Sep 26 15:20:44 2003
+++ llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal3.ll Fri Dec 29 14:01:32 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s > %t.out1.bc
-; RUN: echo "%S = type int" | llvm-as > %t.out2.bc
+; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
+; RUN: echo "%S = type int" | llvm-upgrade | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out[21].bc
%S = type opaque
Index: llvm/test/Regression/Linker/2004-05-07-TypeResolution1.ll
diff -u llvm/test/Regression/Linker/2004-05-07-TypeResolution1.ll:1.1 llvm/test/Regression/Linker/2004-05-07-TypeResolution1.ll:1.2
--- llvm/test/Regression/Linker/2004-05-07-TypeResolution1.ll:1.1 Fri May 7 08:57:19 2004
+++ llvm/test/Regression/Linker/2004-05-07-TypeResolution1.ll Fri Dec 29 14:01:32 2006
@@ -1,5 +1,6 @@
-; RUN: llvm-as -f < %s > %t1.bc
-; RUN: llvm-as -f < `dirname %s`/2004-05-07-TypeResolution2.ll > %t2.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t1.bc
+; RUN: llvm-upgrade < `dirname %s`/2004-05-07-TypeResolution2.ll | \
+; RUN: llvm-as -o %t2.bc -f
; RUN: llvm-link -f -o %t3.bc %t1.bc %t2.bc
target endian = little
Index: llvm/test/Regression/Linker/AppendingLinkage.ll
diff -u llvm/test/Regression/Linker/AppendingLinkage.ll:1.4 llvm/test/Regression/Linker/AppendingLinkage.ll:1.5
--- llvm/test/Regression/Linker/AppendingLinkage.ll:1.4 Mon Sep 15 15:04:28 2003
+++ llvm/test/Regression/Linker/AppendingLinkage.ll Fri Dec 29 14:01:32 2006
@@ -1,7 +1,8 @@
; Test that appending linkage works correctly.
-; RUN: echo "%X = appending global [1x int] [int 8]" | llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
+; RUN: echo "%X = appending global [1x int] [int 8]" | llvm-upgrade | \
+; RUN: llvm-as > %t.2.bc
+; RUN: llvm-upgrade < %s | llvm-as > %t.1.bc
; RUN: llvm-link %t.[12].bc | llvm-dis | grep 7 | grep 4 | grep 8
%X = appending global [2 x int] [int 7, int 4]
Index: llvm/test/Regression/Linker/testlink1.ll
diff -u llvm/test/Regression/Linker/testlink1.ll:1.13 llvm/test/Regression/Linker/testlink1.ll:1.14
--- llvm/test/Regression/Linker/testlink1.ll:1.13 Fri Dec 15 11:34:37 2006
+++ llvm/test/Regression/Linker/testlink1.ll Fri Dec 29 14:01:32 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s > %t.bc
-; RUN: llvm-as < `dirname %s`/testlink2.ll > %t2.bc
+; RUN: llvm-upgrade < %s | llvm-as > %t.bc
+; RUN: llvm-upgrade < `dirname %s`/testlink2.ll | llvm-as > %t2.bc
; RUN: llvm-link %t.bc %t2.bc
%MyVar = external global int
More information about the llvm-commits
mailing list