aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-11-06 22:07:09 +0000
committerTanya Lattner <tonic@nondot.org>2004-11-06 22:07:09 +0000
commite7e3f2e5cd786f6cca267210b3d185b2a4a037bd (patch)
tree12d31c38547c9d792a8bf8627bd2780a92f4eb23 /test/Assembler
parentcd0aa818c86d8337d29944e21c4e01f77475249d (diff)
downloadexternal_llvm-e7e3f2e5cd786f6cca267210b3d185b2a4a037bd.zip
external_llvm-e7e3f2e5cd786f6cca267210b3d185b2a4a037bd.tar.gz
external_llvm-e7e3f2e5cd786f6cca267210b3d185b2a4a037bd.tar.bz2
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/2002-01-24-BadSymbolTableAssert.ll2
-rw-r--r--test/Assembler/2002-01-24-ValueRefineAbsType.ll2
-rw-r--r--test/Assembler/2002-02-19-TypeParsing.ll2
-rw-r--r--test/Assembler/2002-03-08-NameCollision.ll2
-rw-r--r--test/Assembler/2002-03-08-NameCollision2.ll2
-rw-r--r--test/Assembler/2002-04-04-PureVirtMethCall.ll4
-rw-r--r--test/Assembler/2002-04-04-PureVirtMethCall2.ll4
-rw-r--r--test/Assembler/2002-04-05-TypeParsing.ll2
-rw-r--r--test/Assembler/2002-05-02-InvalidForwardRef.ll2
-rw-r--r--test/Assembler/2002-05-02-ParseError.ll2
-rw-r--r--test/Assembler/2002-08-15-CastAmbiguity.ll2
-rw-r--r--test/Assembler/2002-08-15-ConstantExprProblem.ll2
-rw-r--r--test/Assembler/2002-08-15-UnresolvedGlobalReference.ll2
-rw-r--r--test/Assembler/2002-08-22-DominanceProblem.ll2
-rw-r--r--test/Assembler/2002-10-08-LargeArrayPerformance.ll2
-rw-r--r--test/Assembler/2002-10-15-NameClash.ll2
-rw-r--r--test/Assembler/2002-12-15-GlobalResolve.ll2
-rw-r--r--test/Assembler/2003-01-30-UnsignedString.ll2
-rw-r--r--test/Assembler/2003-02-02-ConstGlobal.ll2
-rw-r--r--test/Assembler/2003-04-25-UnresolvedGlobalReference.ll2
-rw-r--r--test/Assembler/2003-05-15-SwitchBug.ll2
-rw-r--r--test/Assembler/2003-05-21-ConstantShiftExpr.ll2
-rw-r--r--test/Assembler/2003-05-21-EmptyStructTest.ll2
-rw-r--r--test/Assembler/2003-06-30-RecursiveTypeProblem.ll2
-rw-r--r--test/Assembler/2003-10-04-NotMergingGlobalConstants.ll2
-rw-r--r--test/Assembler/2004-01-22-FloatNormalization.ll2
-rw-r--r--test/Assembler/2004-02-27-SelfUseAssertError.ll2
-rw-r--r--test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll2
-rw-r--r--test/Assembler/select.ll2
29 files changed, 60 insertions, 2 deletions
diff --git a/test/Assembler/2002-01-24-BadSymbolTableAssert.ll b/test/Assembler/2002-01-24-BadSymbolTableAssert.ll
index d1af3a1..6dc0bc7 100644
--- a/test/Assembler/2002-01-24-BadSymbolTableAssert.ll
+++ b/test/Assembler/2002-01-24-BadSymbolTableAssert.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; This testcase failed due to a bad assertion in SymbolTable.cpp, removed in the 1.20 revision
; Basically the symbol table assumed that if there was an abstract type in the symbol table,
; [in this case for the entry %foo of type void(opaque)* ], that there should have also been
diff --git a/test/Assembler/2002-01-24-ValueRefineAbsType.ll b/test/Assembler/2002-01-24-ValueRefineAbsType.ll
index 0d97c45..1124254 100644
--- a/test/Assembler/2002-01-24-ValueRefineAbsType.ll
+++ b/test/Assembler/2002-01-24-ValueRefineAbsType.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; This testcase used to fail due to a lack of this diff in Value.cpp:
; diff -r1.16 Value.cpp
; 11c11
diff --git a/test/Assembler/2002-02-19-TypeParsing.ll b/test/Assembler/2002-02-19-TypeParsing.ll
index b3e7d66..2a25ebb 100644
--- a/test/Assembler/2002-02-19-TypeParsing.ll
+++ b/test/Assembler/2002-02-19-TypeParsing.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%Hosp = type { int, int, int, { \2 *, { int, int, int, { [4 x \3], \2, \5, \6,
int, int } * } *, \2 * }, { \2 *, { int, int, int, { [4 x \3], \2, \5, \6, int,
int } * } *, \2 * }, { \2 *, { int, int, int, { [4 x \3], \2, \5, \6, int, int
diff --git a/test/Assembler/2002-03-08-NameCollision.ll b/test/Assembler/2002-03-08-NameCollision.ll
index 2126992..d926141 100644
--- a/test/Assembler/2002-03-08-NameCollision.ll
+++ b/test/Assembler/2002-03-08-NameCollision.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; Method arguments were being checked for collisions at the global scope before
; the method object was created by the parser. Because of this, false collisions
; could occur that would cause the following error message to be produced:
diff --git a/test/Assembler/2002-03-08-NameCollision2.ll b/test/Assembler/2002-03-08-NameCollision2.ll
index c25d6ff..2688b54 100644
--- a/test/Assembler/2002-03-08-NameCollision2.ll
+++ b/test/Assembler/2002-03-08-NameCollision2.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; Another name collision problem. Here the problem was that if a forward
; declaration for a method was found, that this would cause spurious conflicts
; to be detected between locals and globals.
diff --git a/test/Assembler/2002-04-04-PureVirtMethCall.ll b/test/Assembler/2002-04-04-PureVirtMethCall.ll
index 3c64c9f..5fafe42 100644
--- a/test/Assembler/2002-04-04-PureVirtMethCall.ll
+++ b/test/Assembler/2002-04-04-PureVirtMethCall.ll
@@ -1,5 +1,7 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
type { { \2 *, \4 ** },
{ \2 *, \4 ** }
}
-implementation \ No newline at end of file
+implementation
diff --git a/test/Assembler/2002-04-04-PureVirtMethCall2.ll b/test/Assembler/2002-04-04-PureVirtMethCall2.ll
index 73d7354..c0cb374 100644
--- a/test/Assembler/2002-04-04-PureVirtMethCall2.ll
+++ b/test/Assembler/2002-04-04-PureVirtMethCall2.ll
@@ -1,5 +1,7 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%t = type { { \2*, \2 },
{ \2*, \2 }
}
-implementation \ No newline at end of file
+implementation
diff --git a/test/Assembler/2002-04-05-TypeParsing.ll b/test/Assembler/2002-04-05-TypeParsing.ll
index cca859f..ce2a90a 100644
--- a/test/Assembler/2002-04-05-TypeParsing.ll
+++ b/test/Assembler/2002-04-05-TypeParsing.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%Hosp = type {
{ \2 *, { \2, \4 } * },
{ \2 *, { \2, \4 } * }
diff --git a/test/Assembler/2002-05-02-InvalidForwardRef.ll b/test/Assembler/2002-05-02-InvalidForwardRef.ll
index 961ae84..8d79e60 100644
--- a/test/Assembler/2002-05-02-InvalidForwardRef.ll
+++ b/test/Assembler/2002-05-02-InvalidForwardRef.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; It looks like the assembler is not forward resolving the function declaraion
; correctly.
diff --git a/test/Assembler/2002-05-02-ParseError.ll b/test/Assembler/2002-05-02-ParseError.ll
index 9d84698..108d148 100644
--- a/test/Assembler/2002-05-02-ParseError.ll
+++ b/test/Assembler/2002-05-02-ParseError.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; This should parse correctly without an 'implementation', but our current YACC
; based parser doesn't have the required 2 token lookahead...
; XFAIL: *
diff --git a/test/Assembler/2002-08-15-CastAmbiguity.ll b/test/Assembler/2002-08-15-CastAmbiguity.ll
index 40c7b1e..ce1ce07 100644
--- a/test/Assembler/2002-08-15-CastAmbiguity.ll
+++ b/test/Assembler/2002-08-15-CastAmbiguity.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
diff --git a/test/Assembler/2002-08-15-ConstantExprProblem.ll b/test/Assembler/2002-08-15-ConstantExprProblem.ll
index 526bb7b..d64775f 100644
--- a/test/Assembler/2002-08-15-ConstantExprProblem.ll
+++ b/test/Assembler/2002-08-15-ConstantExprProblem.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%.LC0 = internal global [12 x sbyte] c"hello world\00"
implementation ; Functions:
diff --git a/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll b/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
index a4ab1a6..83b82a6 100644
--- a/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
+++ b/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%.LC0 = internal global [12 x sbyte] c"hello world\00" ; <[12 x sbyte]*> [#uses=1]
implementation ; Functions:
diff --git a/test/Assembler/2002-08-22-DominanceProblem.ll b/test/Assembler/2002-08-22-DominanceProblem.ll
index ed8c704..1d0cda5 100644
--- a/test/Assembler/2002-08-22-DominanceProblem.ll
+++ b/test/Assembler/2002-08-22-DominanceProblem.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; Dominance relationships is not calculated correctly for unreachable blocks,
; which causes the verifier to barf on this input.
diff --git a/test/Assembler/2002-10-08-LargeArrayPerformance.ll b/test/Assembler/2002-10-08-LargeArrayPerformance.ll
index 1d1f5f1..026d10e 100644
--- a/test/Assembler/2002-10-08-LargeArrayPerformance.ll
+++ b/test/Assembler/2002-10-08-LargeArrayPerformance.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; This testcase comes from the following really simple c file:
;
; int foo[30000];
diff --git a/test/Assembler/2002-10-15-NameClash.ll b/test/Assembler/2002-10-15-NameClash.ll
index c2404d2..d4c36f3 100644
--- a/test/Assembler/2002-10-15-NameClash.ll
+++ b/test/Assembler/2002-10-15-NameClash.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
declare int "ArrayRef"([100 x int] * %Array)
int "ArrayRef"([100 x int] * %Array) {
diff --git a/test/Assembler/2002-12-15-GlobalResolve.ll b/test/Assembler/2002-12-15-GlobalResolve.ll
index b46d0cc..62d802d 100644
--- a/test/Assembler/2002-12-15-GlobalResolve.ll
+++ b/test/Assembler/2002-12-15-GlobalResolve.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%X = external global %T*
diff --git a/test/Assembler/2003-01-30-UnsignedString.ll b/test/Assembler/2003-01-30-UnsignedString.ll
index af9a495..5e55231 100644
--- a/test/Assembler/2003-01-30-UnsignedString.ll
+++ b/test/Assembler/2003-01-30-UnsignedString.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%spell_order = global [4 x ubyte] c"\FF\00\F7\00"
diff --git a/test/Assembler/2003-02-02-ConstGlobal.ll b/test/Assembler/2003-02-02-ConstGlobal.ll
index 8db245f..0bde297 100644
--- a/test/Assembler/2003-02-02-ConstGlobal.ll
+++ b/test/Assembler/2003-02-02-ConstGlobal.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%X = external global int
%X = constant int 7
diff --git a/test/Assembler/2003-04-25-UnresolvedGlobalReference.ll b/test/Assembler/2003-04-25-UnresolvedGlobalReference.ll
index 4782044..89132f6 100644
--- a/test/Assembler/2003-04-25-UnresolvedGlobalReference.ll
+++ b/test/Assembler/2003-04-25-UnresolvedGlobalReference.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; There should be absolutely no problem with this testcase.
implementation
diff --git a/test/Assembler/2003-05-15-SwitchBug.ll b/test/Assembler/2003-05-15-SwitchBug.ll
index d2b64c4..a77b72a 100644
--- a/test/Assembler/2003-05-15-SwitchBug.ll
+++ b/test/Assembler/2003-05-15-SwitchBug.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
void %test(int %X) {
diff --git a/test/Assembler/2003-05-21-ConstantShiftExpr.ll b/test/Assembler/2003-05-21-ConstantShiftExpr.ll
index 0a4f8c2..830dd7a 100644
--- a/test/Assembler/2003-05-21-ConstantShiftExpr.ll
+++ b/test/Assembler/2003-05-21-ConstantShiftExpr.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; Test that shift instructions can be used in constant expressions.
global int shl (int 7, ubyte 19)
diff --git a/test/Assembler/2003-05-21-EmptyStructTest.ll b/test/Assembler/2003-05-21-EmptyStructTest.ll
index 1fdfb03..5790a1b 100644
--- a/test/Assembler/2003-05-21-EmptyStructTest.ll
+++ b/test/Assembler/2003-05-21-EmptyStructTest.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; The old C front-end never generated empty structures, now the new one
; can. For some reason we never handled them in the parser. Wierd.
diff --git a/test/Assembler/2003-06-30-RecursiveTypeProblem.ll b/test/Assembler/2003-06-30-RecursiveTypeProblem.ll
index 5f046d0..716850e 100644
--- a/test/Assembler/2003-06-30-RecursiveTypeProblem.ll
+++ b/test/Assembler/2003-06-30-RecursiveTypeProblem.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%MidFnTy = type void (void (%MidFnTy* )*)
diff --git a/test/Assembler/2003-10-04-NotMergingGlobalConstants.ll b/test/Assembler/2003-10-04-NotMergingGlobalConstants.ll
index 2f45504..c9f5c5e 100644
--- a/test/Assembler/2003-10-04-NotMergingGlobalConstants.ll
+++ b/test/Assembler/2003-10-04-NotMergingGlobalConstants.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
%T = type opaque
%X = global %T* null
diff --git a/test/Assembler/2004-01-22-FloatNormalization.ll b/test/Assembler/2004-01-22-FloatNormalization.ll
index 2fd18d0..5eae402 100644
--- a/test/Assembler/2004-01-22-FloatNormalization.ll
+++ b/test/Assembler/2004-01-22-FloatNormalization.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; make sure that 'float' values have their value properly truncated.
global float 0x1
diff --git a/test/Assembler/2004-02-27-SelfUseAssertError.ll b/test/Assembler/2004-02-27-SelfUseAssertError.ll
index abdea03..2b4aed5 100644
--- a/test/Assembler/2004-02-27-SelfUseAssertError.ll
+++ b/test/Assembler/2004-02-27-SelfUseAssertError.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
; %inc2 uses it's own value, but that's ok, as it's unreachable!
void %test() {
diff --git a/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll b/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll
index 2dd0caa..7912a96 100644
--- a/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll
+++ b/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
diff --git a/test/Assembler/select.ll b/test/Assembler/select.ll
index 2d7bbc5..8f378bb 100644
--- a/test/Assembler/select.ll
+++ b/test/Assembler/select.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s -o /dev/null -f
+
int %test(bool %C, int %V1, int %V2) {