diff options
Diffstat (limited to 'llvm/test/Regression/CodeGen/CBackend')
44 files changed, 45 insertions, 45 deletions
diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-05-16-NameCollide.ll b/llvm/test/Regression/CodeGen/CBackend/2002-05-16-NameCollide.ll index e9206b5045a..249927d1ffe 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-05-16-NameCollide.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-05-16-NameCollide.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; Make sure that global variables do not collide if they have the same name, ; but different types. diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-05-21-MissingReturn.ll b/llvm/test/Regression/CodeGen/CBackend/2002-05-21-MissingReturn.ll index a5045b5f4ab..775a7623e5d 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-05-21-MissingReturn.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-05-21-MissingReturn.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; This case was emitting code that looked like this: ; ... diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll index 4b776cd938f..c8d12013e92 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; Test const pointer refs & forward references diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstantExpr.ll b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstantExpr.ll index 813a3478ee2..2842faae09d 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstantExpr.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstantExpr.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c global int* cast (float* %0 to int*) ;; Forward numeric reference global float* %0 ;; Duplicate forward numeric reference diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-DataPointer.ll b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-DataPointer.ll index b76f1d22bee..ca2af794c7e 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-DataPointer.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-DataPointer.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %sptr1 = global [11x sbyte]* %somestr ;; Forward ref to a constant %somestr = constant [11x sbyte] c"hello world" diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-FunctionPointer.ll b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-FunctionPointer.ll index c06d72dd631..baf7d78a0c6 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-FunctionPointer.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-FunctionPointer.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %fptr = global void() * %f ;; Forward ref method defn declare void "f"() ;; External method diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll index f4f0a122deb..51bc9503dd5 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %array = constant [2 x int] [ int 12, int 52 ] ; <[2 x int]*> [#uses=1] %arrayPtr = global int* getelementptr ([2 x int]* %array, long 0, long 0) ; <int**> [#uses=1] diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-08-20-RecursiveTypes.ll b/llvm/test/Regression/CodeGen/CBackend/2002-08-20-RecursiveTypes.ll index 1ae02d0ec2d..fdcdeed599a 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-20-RecursiveTypes.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-20-RecursiveTypes.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %MyIntList = uninitialized global { \2 *, int } diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-08-20-UnnamedArgument.ll b/llvm/test/Regression/CodeGen/CBackend/2002-08-20-UnnamedArgument.ll index 46ac9b6ae98..3ec23fb6b7d 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-20-UnnamedArgument.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-20-UnnamedArgument.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; The C Writer bombs on this testcase because it tries the print the prototype ; for the test function, which tries to print the argument name. The function diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll b/llvm/test/Regression/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll index 9a76cfbc7a3..4a977e864b8 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; Indirect function call test... found by Joel & Brian ; diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll b/llvm/test/Regression/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll index 141928332f6..d8477d5cb83 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; This testcase fails because the C backend does not arrange to output the ; contents of a structure type before it outputs the structure type itself. diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll b/llvm/test/Regression/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll index 66514c647c9..6158b2f565a 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-09-20-VarArgPrototypes.ll b/llvm/test/Regression/CodeGen/CBackend/2002-09-20-VarArgPrototypes.ll index 934bee45c48..f3841f44ee0 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-09-20-VarArgPrototypes.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-09-20-VarArgPrototypes.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c declare void %foo(...) diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll b/llvm/test/Regression/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll index 4a82f279aa2..1a9cdb766c4 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %MPI_Comm = type %struct.Comm* %struct.Comm = type opaque diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-10-16-External.ll b/llvm/test/Regression/CodeGen/CBackend/2002-10-16-External.ll index edfc397a9cf..d60a3d87c1c 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-10-16-External.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-10-16-External.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %bob = external global int ; <int*> [#uses=2] diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll b/llvm/test/Regression/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll index 4e1ff83e014..b8874883bc4 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %BitField = type int diff --git a/llvm/test/Regression/CodeGen/CBackend/2002-11-06-PrintEscaped.ll b/llvm/test/Regression/CodeGen/CBackend/2002-11-06-PrintEscaped.ll index 3d267325b7a..62c0e274f90 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-11-06-PrintEscaped.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-11-06-PrintEscaped.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %testString = internal constant [18 x sbyte] c "Escaped newline\n\00" diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll b/llvm/test/Regression/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll index 0f2fc1bbe39..2c6a596a750 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; Apparently this constant was unsigned in ISO C 90, but not in C 99. diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-05-13-VarArgFunction.ll b/llvm/test/Regression/CodeGen/CBackend/2003-05-13-VarArgFunction.ll index 45638a08833..1e08b2d61f3 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-05-13-VarArgFunction.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-05-13-VarArgFunction.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; This testcase breaks the C backend, because gcc doesn't like (...) functions ; with no arguments at all. diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-05-31-MissingStructName.ll b/llvm/test/Regression/CodeGen/CBackend/2003-05-31-MissingStructName.ll index 6e86a2a0175..567d8e43678 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-05-31-MissingStructName.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-05-31-MissingStructName.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; The C backend was dying when there was no typename for a struct type! diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll b/llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll index c970786a71e..224ba151875 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %X = type { int, float } diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-06-11-HexConstant.ll b/llvm/test/Regression/CodeGen/CBackend/2003-06-11-HexConstant.ll index 4b5ddaadff4..bc5691f22f6 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-11-HexConstant.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-11-HexConstant.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; Make sure hex constant does not continue into a valid hexadecimal letter/number %version = global [3 x sbyte] c"\001\00" diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-06-11-LiteralStringProblem.ll b/llvm/test/Regression/CodeGen/CBackend/2003-06-11-LiteralStringProblem.ll index bd89ec5848b..7af255b73be 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-11-LiteralStringProblem.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-11-LiteralStringProblem.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %version = global [3 x sbyte] c"1\00\00" diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-06-23-PromotedExprs.llx b/llvm/test/Regression/CodeGen/CBackend/2003-06-23-PromotedExprs.llx index 286d65b345a..d7f8e562134 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-23-PromotedExprs.llx +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-23-PromotedExprs.llx @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | llc -march=c > %t1.cbe.c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c > %t1.cbe.c ; RUN: gcc -B/usr/bin/ %t1.cbe.c -o %t1.cbe ; RUN: %t1.cbe diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-06-28-InvokeSupport.ll b/llvm/test/Regression/CodeGen/CBackend/2003-06-28-InvokeSupport.ll index cc59035f37b..2d87233a8c8 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-28-InvokeSupport.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-28-InvokeSupport.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c declare int %callee(int, int) diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx b/llvm/test/Regression/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx index acb3c22db8c..75e223d410e 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c | grep common | grep X +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep common | grep X %X = linkonce global int 5 diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll b/llvm/test/Regression/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll index 2addddaa5a9..a82d7e59696 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; This is a non-normal FP value: it's a nan. %NAN = global { float } { float 0x7FF8000000000000 } diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-10-23-UnusedType.ll b/llvm/test/Regression/CodeGen/CBackend/2003-10-23-UnusedType.ll index bb9f4b7091b..e073928b2f8 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-10-23-UnusedType.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-10-23-UnusedType.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %A = type { uint, sbyte*, { uint, uint, uint, uint, uint, uint, uint, uint }*, ushort } diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-10-23-ZeroArgVarargs.ll b/llvm/test/Regression/CodeGen/CBackend/2003-10-23-ZeroArgVarargs.ll index 3072bb6d6ab..e1c71072b01 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-10-23-ZeroArgVarargs.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-10-23-ZeroArgVarargs.ll @@ -1,5 +1,5 @@ ; XFAIL: * -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c declare sbyte* %llvm.va_start() diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll b/llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll index 0fd4fbacfc8..4c7ab32f9fc 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c ; reduced from DOOM. %union._XEvent = type { int } diff --git a/llvm/test/Regression/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll b/llvm/test/Regression/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll index 32358a409f4..3866200de08 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %y = weak global sbyte 0 implementation diff --git a/llvm/test/Regression/CodeGen/CBackend/2004-02-13-FrameReturnAddress.llx b/llvm/test/Regression/CodeGen/CBackend/2004-02-13-FrameReturnAddress.llx index 613c03ecc98..973e6d8b7ef 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2004-02-13-FrameReturnAddress.llx +++ b/llvm/test/Regression/CodeGen/CBackend/2004-02-13-FrameReturnAddress.llx @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c | grep builtin_return_address +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep builtin_return_address declare sbyte* %llvm.returnaddress(uint) declare sbyte* %llvm.frameaddress(uint) diff --git a/llvm/test/Regression/CodeGen/CBackend/2004-02-15-PreexistingExternals.llx b/llvm/test/Regression/CodeGen/CBackend/2004-02-15-PreexistingExternals.llx index 1c07708e57c..d880876afaa 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2004-02-15-PreexistingExternals.llx +++ b/llvm/test/Regression/CodeGen/CBackend/2004-02-15-PreexistingExternals.llx @@ -4,7 +4,7 @@ ; this testcase for example, which caused the CBE to mangle one, screwing ; everything up. :( Test that this does not happen anymore. ; -; RUN: llvm-as < %s | llc -march=c | not grep _memcpy +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep _memcpy declare void %llvm.memcpy(sbyte*, sbyte*, uint,uint) declare float* %memcpy(int*, uint,int) diff --git a/llvm/test/Regression/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx b/llvm/test/Regression/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx index 36b19f3d8c4..87a642b69d6 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx +++ b/llvm/test/Regression/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx @@ -1,5 +1,5 @@ ; This is a non-normal FP value -; RUN: llvm-as < %s | llc -march=c | grep FPConstant | grep static +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep FPConstant | grep static float %func () { ret float 0xFFF0000000000000 ; -inf diff --git a/llvm/test/Regression/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx b/llvm/test/Regression/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx index 918252d7367..997f1c9fda3 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx +++ b/llvm/test/Regression/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c | grep func1 | grep WEAK +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep func1 | grep WEAK implementation diff --git a/llvm/test/Regression/CodeGen/CBackend/2004-08-09-va-end-null.ll b/llvm/test/Regression/CodeGen/CBackend/2004-08-09-va-end-null.ll index f15fa86897d..f8e8fe5bb7e 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2004-08-09-va-end-null.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2004-08-09-va-end-null.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c declare void %llvm.va_end(sbyte*) diff --git a/llvm/test/Regression/CodeGen/CBackend/2004-11-13-FunctionPointerCast.llx b/llvm/test/Regression/CodeGen/CBackend/2004-11-13-FunctionPointerCast.llx index 8af996c2bc8..99bb602ce3e 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2004-11-13-FunctionPointerCast.llx +++ b/llvm/test/Regression/CodeGen/CBackend/2004-11-13-FunctionPointerCast.llx @@ -1,7 +1,7 @@ ; The CBE should not emit code that casts the function pointer. This causes ; GCC to get testy and insert trap instructions instead of doing the right ; thing. :( -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c implementation diff --git a/llvm/test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll b/llvm/test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll index ca4aa5921c3..6a55db8617c 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c | not grep 'extern.*msg' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep 'extern.*msg' ; This is PR472 diff --git a/llvm/test/Regression/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll b/llvm/test/Regression/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll index 3377fd1fead..ebe4566aa18 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c int %foo() { ret int and (int 123456, int cast (int()* %foo to int)) diff --git a/llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll b/llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll index b6089d1d19a..e161e46b558 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c | grep volatile +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep volatile void %test(int* %P) { %X = volatile load int*%P diff --git a/llvm/test/Regression/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll b/llvm/test/Regression/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll index 382c817d6d4..5349488d64b 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c %JNIEnv = type %struct.JNINa* %struct.JNINa = type { sbyte*, sbyte*, sbyte*, void (%JNIEnv*)* } diff --git a/llvm/test/Regression/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll b/llvm/test/Regression/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll index 9880456dbe1..0411fb6a79d 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c | not grep "\-\-65535" +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep "\-\-65535" ; ModuleID = '<stdin>' target endian = little target pointersize = 32 diff --git a/llvm/test/Regression/CodeGen/CBackend/2005-08-23-Fmod.ll b/llvm/test/Regression/CodeGen/CBackend/2005-08-23-Fmod.ll index 20f05b651bb..5ce1e9660fd 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2005-08-23-Fmod.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2005-08-23-Fmod.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=c | grep fmod +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep fmod double %test(double %A, double %B) { %C = rem double %A, %B diff --git a/llvm/test/Regression/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll b/llvm/test/Regression/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll index 96223f2edf1..a29c20b13a7 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | llc -march=c && -; RUN: llvm-as < %s | llc -march=c | grep '\* *volatile *\*' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep '\* *volatile *\*' %G = external global void()* |

