From e7e3f2e5cd786f6cca267210b3d185b2a4a037bd Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Sat, 6 Nov 2004 22:07:09 +0000 Subject: [PATCH] Adding RUN lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17528 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/2002-01-24-BadSymbolTableAssert.ll | 2 ++ test/Assembler/2002-01-24-ValueRefineAbsType.ll | 2 ++ test/Assembler/2002-02-19-TypeParsing.ll | 2 ++ test/Assembler/2002-03-08-NameCollision.ll | 2 ++ test/Assembler/2002-03-08-NameCollision2.ll | 2 ++ test/Assembler/2002-04-04-PureVirtMethCall.ll | 4 +++- test/Assembler/2002-04-04-PureVirtMethCall2.ll | 4 +++- test/Assembler/2002-04-05-TypeParsing.ll | 2 ++ test/Assembler/2002-05-02-InvalidForwardRef.ll | 2 ++ test/Assembler/2002-05-02-ParseError.ll | 2 ++ test/Assembler/2002-08-15-CastAmbiguity.ll | 2 ++ test/Assembler/2002-08-15-ConstantExprProblem.ll | 2 ++ test/Assembler/2002-08-15-UnresolvedGlobalReference.ll | 2 ++ test/Assembler/2002-08-22-DominanceProblem.ll | 2 ++ test/Assembler/2002-10-08-LargeArrayPerformance.ll | 2 ++ test/Assembler/2002-10-15-NameClash.ll | 2 ++ test/Assembler/2002-12-15-GlobalResolve.ll | 2 ++ test/Assembler/2003-01-30-UnsignedString.ll | 2 ++ test/Assembler/2003-02-02-ConstGlobal.ll | 2 ++ test/Assembler/2003-04-25-UnresolvedGlobalReference.ll | 2 ++ test/Assembler/2003-05-15-SwitchBug.ll | 2 ++ test/Assembler/2003-05-21-ConstantShiftExpr.ll | 2 ++ test/Assembler/2003-05-21-EmptyStructTest.ll | 2 ++ test/Assembler/2003-06-30-RecursiveTypeProblem.ll | 2 ++ test/Assembler/2003-10-04-NotMergingGlobalConstants.ll | 2 ++ test/Assembler/2004-01-22-FloatNormalization.ll | 2 ++ test/Assembler/2004-02-27-SelfUseAssertError.ll | 2 ++ test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll | 2 ++ test/Assembler/select.ll | 2 ++ 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 d1af3a1549a..6dc0bc79a59 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 0d97c45b276..1124254720b 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 b3e7d66a146..2a25ebbba4e 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 2126992e1d3..d92614170e5 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 c25d6ff5f05..2688b54c04e 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 3c64c9f8662..5fafe42b9c1 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 73d7354e9a3..c0cb3742e9a 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 cca859f4884..ce2a90a0cec 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 961ae84edfd..8d79e60649a 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 9d8469877de..108d14881af 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 40c7b1e4591..ce1ce0701d3 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 526bb7b2194..d64775f9b42 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 a4ab1a6fb78..83b82a68845 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 ed8c704b115..1d0cda5bd62 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 1d1f5f11816..026d10ee820 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 c2404d2c707..d4c36f3a9d7 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 b46d0cc5f3f..62d802d2c32 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 af9a495fe64..5e55231932c 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 8db245f83d0..0bde297cfa6 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 47820449ef8..89132f6f2f7 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 d2b64c4fd24..a77b72a0b6e 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 0a4f8c2228f..830dd7a1e6a 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 1fdfb03cfde..5790a1bba8d 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 5f046d0bd29..716850e3353 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 2f455049d09..c9f5c5eb631 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 2fd18d04d6e..5eae402dfd0 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 abdea03c55c..2b4aed590df 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 2dd0caa754b..7912a969e6f 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 2d7bbc5d31e..8f378bb3b9b 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) { -- 2.34.1