aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler
diff options
context:
space:
mode:
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 d1af3a1549..6dc0bc79a5 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 0d97c45b27..1124254720 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 b3e7d66a14..2a25ebbba4 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 2126992e1d..d92614170e 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 c25d6ff5f0..2688b54c04 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 3c64c9f866..5fafe42b9c 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 73d7354e9a..c0cb3742e9 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 cca859f488..ce2a90a0ce 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 961ae84edf..8d79e60649 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 9d8469877d..108d14881a 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 40c7b1e459..ce1ce0701d 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 526bb7b219..d64775f9b4 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 a4ab1a6fb7..83b82a6884 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 ed8c704b11..1d0cda5bd6 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 1d1f5f1181..026d10ee82 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 c2404d2c70..d4c36f3a9d 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 b46d0cc5f3..62d802d2c3 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 af9a495fe6..5e55231932 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 8db245f83d..0bde297cfa 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 47820449ef..89132f6f2f 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 d2b64c4fd2..a77b72a0b6 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 0a4f8c2228..830dd7a1e6 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 1fdfb03cfd..5790a1bba8 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 5f046d0bd2..716850e335 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 2f455049d0..c9f5c5eb63 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 2fd18d04d6..5eae402dfd 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 abdea03c55..2b4aed590d 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 2dd0caa754..7912a969e6 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 2d7bbc5d31..8f378bb3b9 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) {