Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8545 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Linker/2002-07-17-GlobalFail.ll b/test/Linker/2002-07-17-GlobalFail.ll
index 68726da..285b6ab 100644
--- a/test/Linker/2002-07-17-GlobalFail.ll
+++ b/test/Linker/2002-07-17-GlobalFail.ll
@@ -1,6 +1,6 @@
-; RUN: as < %s > %t.bc
-; RUN: echo | as > %t.tmp.bc
-; RUN: link %t.tmp.bc %t.bc
+; RUN: llvm-as < %s > %t.bc
+; RUN: echo | llvm-as > %t.tmp.bc
+; RUN: llvm-link %t.tmp.bc %t.bc
 
 %X = constant int 5
 %Y = internal global [2 x int*] [ int* %X, int * %X]
diff --git a/test/Linker/2002-07-17-LinkTest2.ll b/test/Linker/2002-07-17-LinkTest2.ll
index 80286eb..413a31a 100644
--- a/test/Linker/2002-07-17-LinkTest2.ll
+++ b/test/Linker/2002-07-17-LinkTest2.ll
@@ -1,8 +1,8 @@
 ; This fails linking when it is linked with an empty file as the first object file
 
-; RUN: as > %t1.bc < /dev/null
-; RUN: as < %s > %t2.bc
-; RUN: link %t[12].bc
+; RUN: llvm-as > %t1.bc < /dev/null
+; RUN: llvm-as < %s > %t2.bc
+; RUN: llvm-link %t[12].bc
 
 %work = global int (int, int)* %zip
 
diff --git a/test/Linker/2002-08-20-ConstantExpr.ll b/test/Linker/2002-08-20-ConstantExpr.ll
index da81af3..8b00cb9 100644
--- a/test/Linker/2002-08-20-ConstantExpr.ll
+++ b/test/Linker/2002-08-20-ConstantExpr.ll
@@ -1,8 +1,8 @@
 ; This fails linking when it is linked with an empty file as the first object file
 
-; RUN: as > %t.LinkTest.bc < /dev/null
-; RUN: as < %s > %t.bc
-; RUN: link %t.LinkTest.bc %t.bc
+; RUN: llvm-as > %t.LinkTest.bc < /dev/null
+; RUN: llvm-as < %s > %t.bc
+; RUN: llvm-link %t.LinkTest.bc %t.bc
 
 %work = global int 4
 %test = global int* getelementptr( int* %work, long 1)
diff --git a/test/Linker/2003-01-30-LinkerRename.ll b/test/Linker/2003-01-30-LinkerRename.ll
index 3cf8f78..cf9c4ae 100644
--- a/test/Linker/2003-01-30-LinkerRename.ll
+++ b/test/Linker/2003-01-30-LinkerRename.ll
@@ -1,9 +1,9 @@
 ; This fails because the linker renames the external symbol not the internal 
 ; one...
 
-; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > %t.1.bc
-; RUN: as < %s > %t.2.bc
-; RUN: link %t.[12].bc | dis | grep '%foo()' | grep -v internal
+; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-as > %t.1.bc
+; RUN: llvm-as < %s > %t.2.bc
+; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%foo()' | grep -v internal
 
 implementation
 int %foo() { ret int 0 }
diff --git a/test/Linker/2003-01-30-LinkerTypeRename.ll b/test/Linker/2003-01-30-LinkerTypeRename.ll
index b0bd764..e53c239 100644
--- a/test/Linker/2003-01-30-LinkerTypeRename.ll
+++ b/test/Linker/2003-01-30-LinkerTypeRename.ll
@@ -1,9 +1,9 @@
 ; This fails because the linker renames the non-opaque type not the opaque 
 ; one...
 
-; RUN: echo "%Ty = type opaque" | as > %t.1.bc
-; RUN: as < %s > %t.2.bc
-; RUN: link %t.[12].bc | dis | grep '%Ty ' | grep -v opaque
+; RUN: echo "%Ty = type opaque" | llvm-as > %t.1.bc
+; RUN: llvm-as < %s > %t.2.bc
+; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%Ty ' | grep -v opaque
 
 %Ty = type int
 
diff --git a/test/Linker/2003-04-21-Linkage.ll b/test/Linker/2003-04-21-Linkage.ll
index 96fb5c0..6071d0b 100644
--- a/test/Linker/2003-04-21-Linkage.ll
+++ b/test/Linker/2003-04-21-Linkage.ll
@@ -1,6 +1,6 @@
-; RUN: echo "%X = linkonce global int 5  implementation linkonce int %foo() { ret int 7 }" | as > %t.1.bc
-; RUN: as < %s > %t.2.bc
-; RUN: link %t.[12].bc 
+; 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: llvm-link %t.[12].bc 
 %X = external global int 
 
 implementation
diff --git a/test/Linker/2003-04-23-LinkOnceLost.ll b/test/Linker/2003-04-23-LinkOnceLost.ll
index cae03c6..add9981 100644
--- a/test/Linker/2003-04-23-LinkOnceLost.ll
+++ b/test/Linker/2003-04-23-LinkOnceLost.ll
@@ -1,8 +1,8 @@
 ; This fails because the linker renames the non-opaque type not the opaque 
 ; one...
 
-; RUN: echo "implementation linkonce void %foo() { ret void } " | as > %t.2.bc
-; RUN: as < %s > %t.1.bc
-; RUN: link %t.[12].bc | dis | grep foo | grep linkonce
+; RUN: echo "implementation linkonce void %foo() { ret void } " | llvm-as > %t.2.bc
+; RUN: llvm-as < %s > %t.1.bc
+; RUN: llvm-link %t.[12].bc | llvm-dis | grep foo | grep linkonce
 
 declare void %foo()
diff --git a/test/Linker/2003-04-26-NullPtrLinkProblem.ll b/test/Linker/2003-04-26-NullPtrLinkProblem.ll
index 53c2f4c..03447b1 100644
--- a/test/Linker/2003-04-26-NullPtrLinkProblem.ll
+++ b/test/Linker/2003-04-26-NullPtrLinkProblem.ll
@@ -1,9 +1,9 @@
 ; This one fails because the LLVM runtime is allowing two null pointers of
 ; the same type to be created!
 
-; RUN: echo "%T = type int" | as > %t.2.bc
-; RUN: as < %s > %t.1.bc
-; RUN: link %t.[12].bc
+; RUN: echo "%T = type int" | llvm-as > %t.2.bc
+; RUN: llvm-as < %s > %t.1.bc
+; RUN: llvm-link %t.[12].bc
 
 %T = type opaque
 
diff --git a/test/Linker/2003-05-15-TypeProblem.ll b/test/Linker/2003-05-15-TypeProblem.ll
index 74c3fee..163cdfd 100644
--- a/test/Linker/2003-05-15-TypeProblem.ll
+++ b/test/Linker/2003-05-15-TypeProblem.ll
@@ -1,9 +1,9 @@
 ; This one fails because the LLVM runtime is allowing two null pointers of
 ; the same type to be created!
 
-; RUN: echo "%S = type { %T*} %T = type opaque" | as > %t.2.bc
-; RUN: as < %s > %t.1.bc
-; RUN: link %t.[12].bc
+; RUN: echo "%S = type { %T*} %T = type opaque" | llvm-as > %t.2.bc
+; RUN: llvm-as < %s > %t.1.bc
+; RUN: llvm-link %t.[12].bc
 
 %S = type { %T* }
 %T = type int
diff --git a/test/Linker/2003-05-31-LinkerRename.ll b/test/Linker/2003-05-31-LinkerRename.ll
index ac11f19..375c160 100644
--- a/test/Linker/2003-05-31-LinkerRename.ll
+++ b/test/Linker/2003-05-31-LinkerRename.ll
@@ -1,11 +1,11 @@
-; The funcresolve pass will (intentionally) link an _internal_ function body with an
+; The funcresolve pass will (intentionally) llvm-link an _internal_ function body with an
 ; external declaration.  Because of this, if we LINK an internal function body into
 ; a program that already has an external declaration for the function name, we must
 ; rename the internal function to something that does not conflict.
 
-; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > %t.1.bc
-; RUN: as < %s > %t.2.bc
-; RUN: link %t.[12].bc | dis | grep 'internal' | not grep '%foo('
+; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-as > %t.1.bc
+; RUN: llvm-as < %s > %t.2.bc
+; RUN: llvm-link %t.[12].bc | llvm-dis | grep 'internal' | not grep '%foo('
 
 implementation
 declare int %foo() 
diff --git a/test/Linker/2003-06-02-TypeResolveProblem.ll b/test/Linker/2003-06-02-TypeResolveProblem.ll
index 796cb8a..ceb046e 100644
--- a/test/Linker/2003-06-02-TypeResolveProblem.ll
+++ b/test/Linker/2003-06-02-TypeResolveProblem.ll
@@ -1,6 +1,6 @@
-; RUN: echo "%T = type opaque" | as > %t.2.bc
-; RUN: as < %s > %t.1.bc
-; RUN: link %t.[12].bc
+; RUN: echo "%T = type opaque" | llvm-as > %t.2.bc
+; RUN: llvm-as < %s > %t.1.bc
+; RUN: llvm-link %t.[12].bc
 
 %T = type opaque
 %a = constant { %T* }  { %T* null }
diff --git a/test/Linker/2003-06-02-TypeResolveProblem2.ll b/test/Linker/2003-06-02-TypeResolveProblem2.ll
index 7592b2c..aa1bc17 100644
--- a/test/Linker/2003-06-02-TypeResolveProblem2.ll
+++ b/test/Linker/2003-06-02-TypeResolveProblem2.ll
@@ -1,6 +1,6 @@
-; RUN: echo "%T = type int" | as > %t.1.bc
-; RUN: as < %s > %t.2.bc
-; RUN: link %t.[12].bc
+; RUN: echo "%T = type int" | llvm-as > %t.1.bc
+; RUN: llvm-as < %s > %t.2.bc
+; RUN: llvm-link %t.[12].bc
 
 %T = type opaque
 
diff --git a/test/Linker/2003-08-20-OpaqueTypeResolve.ll b/test/Linker/2003-08-20-OpaqueTypeResolve.ll
index 0194336..95d3f09 100644
--- a/test/Linker/2003-08-20-OpaqueTypeResolve.ll
+++ b/test/Linker/2003-08-20-OpaqueTypeResolve.ll
@@ -1,7 +1,7 @@
 
-; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "%S = type { int, int* }" | as > Output/%s.out2.bc
-; RUN: link Output/%s.out[12].bc
+; RUN: llvm-as < %s > Output/%s.out1.bc
+; RUN: echo "%S = type { int, int* }" | llvm-as > Output/%s.out2.bc
+; RUN: llvm-link Output/%s.out[12].bc
 
 %T = type opaque
 %S = type { int, %T* }
diff --git a/test/Linker/2003-08-23-GlobalVarLinking.ll b/test/Linker/2003-08-23-GlobalVarLinking.ll
index 4eab963..0666545 100644
--- a/test/Linker/2003-08-23-GlobalVarLinking.ll
+++ b/test/Linker/2003-08-23-GlobalVarLinking.ll
@@ -1,6 +1,6 @@
-; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | as > Output/%s.out2.bc
-; RUN: link Output/%s.out[12].bc | dis | not grep opaque
+; RUN: llvm-as < %s > Output/%s.out1.bc
+; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | llvm-as > Output/%s.out2.bc
+; RUN: llvm-link Output/%s.out[12].bc | llvm-dis | not grep opaque
 
 ; After linking this testcase, there should be no opaque types left.  The two
 ; S's should cause the opaque type to be resolved to 'int'.
diff --git a/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll b/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
index ac8fb08..90e9333 100644
--- a/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
+++ b/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
@@ -1,8 +1,8 @@
 ; It's a bad idea to go recursively traipsing through types without a safety 
 ; net.
 
-; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "%S = type { %S*, int* }" | as > Output/%s.out2.bc
-; RUN: link Output/%s.out[12].bc
+; RUN: llvm-as < %s > Output/%s.out1.bc
+; RUN: echo "%S = type { %S*, int* }" | llvm-as > Output/%s.out2.bc
+; RUN: llvm-link Output/%s.out[12].bc
 
 %S = type { %S*, opaque* }
diff --git a/test/Linker/2003-08-24-InheritPtrSize.ll b/test/Linker/2003-08-24-InheritPtrSize.ll
index a038a98..1053a4e 100644
--- a/test/Linker/2003-08-24-InheritPtrSize.ll
+++ b/test/Linker/2003-08-24-InheritPtrSize.ll
@@ -1,9 +1,9 @@
 ; Linking these a module with a specified pointer size to one without a 
 ; specified pointer size should not cause a warning!
 
-; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "" | as > Output/%s.out2.bc
-; RUN: link Output/%s.out[12].bc 2>&1 | not grep WARNING
+; RUN: llvm-as < %s > Output/%s.out1.bc
+; RUN: echo "" | llvm-as > Output/%s.out2.bc
+; RUN: llvm-link Output/%s.out[12].bc 2>&1 | not grep WARNING
 
 target pointersize = 64
 
diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal.ll b/test/Linker/2003-08-28-TypeResolvesGlobal.ll
index d7f646b..1baeae5 100644
--- a/test/Linker/2003-08-28-TypeResolvesGlobal.ll
+++ b/test/Linker/2003-08-28-TypeResolvesGlobal.ll
@@ -1,6 +1,6 @@
-; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "%S = type int" | as > Output/%s.out2.bc
-; RUN: link Output/%s.out[21].bc
+; RUN: llvm-as < %s > Output/%s.out1.bc
+; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
+; RUN: llvm-link Output/%s.out[21].bc
 
 %S = type opaque
 
diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal2.ll b/test/Linker/2003-08-28-TypeResolvesGlobal2.ll
index edf1865..a0526d4 100644
--- a/test/Linker/2003-08-28-TypeResolvesGlobal2.ll
+++ b/test/Linker/2003-08-28-TypeResolvesGlobal2.ll
@@ -1,6 +1,6 @@
-; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "%S = type int" | as > Output/%s.out2.bc
-; RUN: link Output/%s.out[21].bc
+; RUN: llvm-as < %s > Output/%s.out1.bc
+; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
+; RUN: llvm-link Output/%s.out[21].bc
 
 %S = type opaque
 
diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal3.ll b/test/Linker/2003-08-28-TypeResolvesGlobal3.ll
index aa199cb..504e8dd 100644
--- a/test/Linker/2003-08-28-TypeResolvesGlobal3.ll
+++ b/test/Linker/2003-08-28-TypeResolvesGlobal3.ll
@@ -1,6 +1,6 @@
-; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "%S = type int" | as > Output/%s.out2.bc
-; RUN: link Output/%s.out[21].bc
+; RUN: llvm-as < %s > Output/%s.out1.bc
+; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
+; RUN: llvm-link Output/%s.out[21].bc
 
 %S = type opaque
 
diff --git a/test/Linker/AppendingLinkage.ll b/test/Linker/AppendingLinkage.ll
index 0019e6c..4126b88 100644
--- a/test/Linker/AppendingLinkage.ll
+++ b/test/Linker/AppendingLinkage.ll
@@ -1,8 +1,8 @@
 ; Test that appending linkage works correctly.
 
-; RUN: echo "%X = appending global [1x int] [int 8]" | as > %t.2.bc
-; RUN: as < %s > %t.1.bc
-; RUN: link %t.[12].bc | dis | grep 7 | grep 4 | grep 8
+; RUN: echo "%X = appending global [1x int] [int 8]" | llvm-as > %t.2.bc
+; RUN: llvm-as < %s > %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]
 
diff --git a/test/Linker/AppendingLinkage2.ll b/test/Linker/AppendingLinkage2.ll
index cef5119..8aabc8b 100644
--- a/test/Linker/AppendingLinkage2.ll
+++ b/test/Linker/AppendingLinkage2.ll
@@ -1,7 +1,7 @@
 ; Test that appending linkage works correctly when arrays are the same size.
 
-; RUN: echo "%X = appending global [1x int] [int 8]" | as > %t.2.bc
-; RUN: as < %s > %t.1.bc
-; RUN: link %t.[12].bc | dis | grep 7 | grep 8
+; RUN: echo "%X = appending global [1x int] [int 8]" | llvm-as > %t.2.bc
+; RUN: llvm-as < %s > %t.1.bc
+; RUN: llvm-link %t.[12].bc | llvm-dis | grep 7 | grep 8
 
 %X = appending global [1 x int] [int 7]
diff --git a/test/Linker/LinkOnce.ll b/test/Linker/LinkOnce.ll
index 5d731b3..17e742e 100644
--- a/test/Linker/LinkOnce.ll
+++ b/test/Linker/LinkOnce.ll
@@ -1,8 +1,8 @@
 ; This fails because the linker renames the non-opaque type not the opaque 
 ; one...
 
-; RUN: echo "%X = linkonce global int 8" | as > %t.2.bc
-; RUN: as < %s > %t.1.bc
-; RUN: link %t.[12].bc | dis
+; RUN: echo "%X = linkonce global int 8" | llvm-as > %t.2.bc
+; RUN: llvm-as < %s > %t.1.bc
+; RUN: llvm-link %t.[12].bc | llvm-dis
 
 %X = linkonce global int 7
diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink1.ll
index 2b40f35..5417239 100644
--- a/test/Linker/testlink1.ll
+++ b/test/Linker/testlink1.ll
@@ -1,6 +1,6 @@
-; RUN: as < %s > %t.bc
-; RUN: as < `dirname %s`/testlink2.ll > %t2.bc
-; RUN: link %t.bc %t2.bc
+; RUN: llvm-as < %s > %t.bc
+; RUN: llvm-as < `dirname %s`/testlink2.ll > %t2.bc
+; RUN: llvm-link %t.bc %t2.bc
 
 %MyVar     = external global int
 %MyIntList = global { \2 *, int } { { \2, int }* null, int 17 }