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 c08024bbec49..e9206b5045ad 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-05-16-NameCollide.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-05-16-NameCollide.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 2fd3e27faf04..a5045b5f4abb 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-05-21-MissingReturn.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-05-21-MissingReturn.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + ; This case was emitting code that looked like this: ; ... ; llvm_BB1: /* no statement here */ 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 8654baa6af58..4b776cd938f5 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + ; Test const pointer refs & forward references %t3 = global int * %t1 ;; Forward reference 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 bbd34ec52171..813a3478ee24 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstantExpr.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-ConstantExpr.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + global int* cast (float* %0 to int*) ;; Forward numeric reference global float* %0 ;; Duplicate forward numeric reference global float 0.0 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 f7481ea89b2c..b76f1d22bee9 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-DataPointer.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-DataPointer.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 ac28d9393273..c06d72dd6313 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-FunctionPointer.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-FunctionPointer.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 b0dca8edd544..f4f0a122debf 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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) ; [#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 cb20180ba7c1..1ae02d0ec2dd 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-20-RecursiveTypes.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-20-RecursiveTypes.ll @@ -1,2 +1,4 @@ +; RUN: llvm-as < %s | 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 842c2d7cba89..46ac9b6ae98d 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-20-UnnamedArgument.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-20-UnnamedArgument.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 ; has not been incorporated into the slot calculator, so after it does the name 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 c8eeb591b757..9a76cfbc7a31 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 36b9f34c9c56..141928332f68 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 87eaadc14464..66514c647c92 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + implementation 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 6f318fadc6e6..934bee45c483 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-09-20-VarArgPrototypes.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-09-20-VarArgPrototypes.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 1cd65c2213e7..4a82f279aa2a 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + %MPI_Comm = type %struct.Comm* %struct.Comm = type opaque %thing = global %MPI_Comm* null ; <%MPI_Comm**> [#uses=0] 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 3ad90899bdf6..edfc397a9cf6 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-10-16-External.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-10-16-External.ll @@ -1,2 +1,4 @@ +; RUN: llvm-as < %s | llc -march=c + %bob = external global 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 2e21ee75f315..4e1ff83e014c 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + %BitField = type int %tokenptr = type %BitField* 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 9451212c605c..3d267325b7a2 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2002-11-06-PrintEscaped.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2002-11-06-PrintEscaped.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + %testString = internal constant [18 x sbyte] c "Escaped newline\n\00" implementation 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 f709dfdfe4ec..0f2fc1bbe39d 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + ; Apparently this constant was unsigned in ISO C 90, but not in C 99. int %foo() { 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 1b2c2b846e65..45638a088334 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-05-13-VarArgFunction.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-05-13-VarArgFunction.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 1eae4062bb28..6e86a2a01752 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-05-31-MissingStructName.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-05-31-MissingStructName.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + ; The C backend was dying when there was no typename for a struct type! declare int %test(int,{ [32 x int] }*) 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 31219230f3ae..5cd1c4c03bf5 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 31bbf885c503..4b5ddaadff4a 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-11-HexConstant.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-11-HexConstant.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 80d8aeaecd3f..bd89ec5848b0 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-11-LiteralStringProblem.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-11-LiteralStringProblem.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + %version = global [3 x sbyte] c"1\00\00" 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 65ccc5c1314c..cc59035f37ba 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-06-28-InvokeSupport.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-06-28-InvokeSupport.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + declare int %callee(int, int) 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 184ffb49d20a..2addddaa5a91 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + ; This is a non-normal FP value: it's a nan. %NAN = global { float } { float 0x7FF8000000000000 } %NANs = global { float } { float 0x7FF4000000000000 } 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 36d8073c7c83..bb9f4b7091be 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-10-23-UnusedType.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-10-23-UnusedType.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | 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 4ba97411f02c..0f010a2f15a2 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-10-23-ZeroArgVarargs.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-10-23-ZeroArgVarargs.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + declare sbyte* %llvm.va_start() declare void %llvm.va_end(sbyte*) 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 f3a57754e8ca..ae0679ea4135 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + ; reduced from DOOM. %union._XEvent = type { int } %.X_event_9 = global %union._XEvent zeroinitializer 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 5bd088db9d01..32358a409f47 100644 --- a/llvm/test/Regression/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll +++ b/llvm/test/Regression/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + %y = weak global sbyte 0 implementation uint %testcaseshr() { 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 7828de39eb4c..f15fa86897d9 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,3 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + declare void %llvm.va_end(sbyte*) void %test() { diff --git a/llvm/test/Regression/CodeGen/Generic/call-ret0.ll b/llvm/test/Regression/CodeGen/Generic/call-ret0.ll index 205b0be0c39d..79edc1e64598 100644 --- a/llvm/test/Regression/CodeGen/Generic/call-ret0.ll +++ b/llvm/test/Regression/CodeGen/Generic/call-ret0.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + int %foo(int %x) { ret int %x } diff --git a/llvm/test/Regression/CodeGen/Generic/call-ret42.ll b/llvm/test/Regression/CodeGen/Generic/call-ret42.ll index 3501288ab4b5..2e8ed381a0c3 100644 --- a/llvm/test/Regression/CodeGen/Generic/call-ret42.ll +++ b/llvm/test/Regression/CodeGen/Generic/call-ret42.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + int %foo(int %x) { ret int 42 } diff --git a/llvm/test/Regression/CodeGen/Generic/call-void.ll b/llvm/test/Regression/CodeGen/Generic/call-void.ll index b23a8d9b2877..1263b9897658 100644 --- a/llvm/test/Regression/CodeGen/Generic/call-void.ll +++ b/llvm/test/Regression/CodeGen/Generic/call-void.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + void %foo() { ret void } diff --git a/llvm/test/Regression/CodeGen/Generic/call2-ret0.ll b/llvm/test/Regression/CodeGen/Generic/call2-ret0.ll index 6159e40c0974..a0bde8de2b45 100644 --- a/llvm/test/Regression/CodeGen/Generic/call2-ret0.ll +++ b/llvm/test/Regression/CodeGen/Generic/call2-ret0.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + int %bar(int %x) { ret int 0 } diff --git a/llvm/test/Regression/CodeGen/Generic/cast-fp.ll b/llvm/test/Regression/CodeGen/Generic/cast-fp.ll index 9205fc9cb4e2..1b80385cd4d7 100644 --- a/llvm/test/Regression/CodeGen/Generic/cast-fp.ll +++ b/llvm/test/Regression/CodeGen/Generic/cast-fp.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %a_fstr = internal constant [8 x sbyte] c"a = %f\0A\00" %a_lstr = internal constant [10 x sbyte] c"a = %lld\0A\00" %a_dstr = internal constant [8 x sbyte] c"a = %d\0A\00" diff --git a/llvm/test/Regression/CodeGen/Generic/global-ret0.ll b/llvm/test/Regression/CodeGen/Generic/global-ret0.ll index f013937a8c10..993049dfb996 100644 --- a/llvm/test/Regression/CodeGen/Generic/global-ret0.ll +++ b/llvm/test/Regression/CodeGen/Generic/global-ret0.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %g = global int 0 int %main() { diff --git a/llvm/test/Regression/CodeGen/Generic/hello.ll b/llvm/test/Regression/CodeGen/Generic/hello.ll index 3acde34f0fe8..e68d58851900 100644 --- a/llvm/test/Regression/CodeGen/Generic/hello.ll +++ b/llvm/test/Regression/CodeGen/Generic/hello.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %.str_1 = internal constant [7 x sbyte] c"hello\0A\00" declare int %printf(sbyte*, ...) diff --git a/llvm/test/Regression/CodeGen/Generic/print-add.ll b/llvm/test/Regression/CodeGen/Generic/print-add.ll index 0e998f4d4945..6e5c3c48fa4d 100644 --- a/llvm/test/Regression/CodeGen/Generic/print-add.ll +++ b/llvm/test/Regression/CodeGen/Generic/print-add.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %.str_1 = internal constant [4 x sbyte] c"%d\0A\00" declare int %printf(sbyte*, ...) diff --git a/llvm/test/Regression/CodeGen/Generic/print-arith-fp.ll b/llvm/test/Regression/CodeGen/Generic/print-arith-fp.ll index da3c558a69bc..446dbea3fd80 100644 --- a/llvm/test/Regression/CodeGen/Generic/print-arith-fp.ll +++ b/llvm/test/Regression/CodeGen/Generic/print-arith-fp.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %a_str = internal constant [8 x sbyte] c"a = %f\0A\00" %b_str = internal constant [8 x sbyte] c"b = %f\0A\00" ;; binary ops: arith diff --git a/llvm/test/Regression/CodeGen/Generic/print-arith-int.ll b/llvm/test/Regression/CodeGen/Generic/print-arith-int.ll index d767190e594d..b67850388c50 100644 --- a/llvm/test/Regression/CodeGen/Generic/print-arith-int.ll +++ b/llvm/test/Regression/CodeGen/Generic/print-arith-int.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %a_str = internal constant [8 x sbyte] c"a = %d\0A\00" %b_str = internal constant [8 x sbyte] c"b = %d\0A\00" ;; binary ops: arith diff --git a/llvm/test/Regression/CodeGen/Generic/print-int.ll b/llvm/test/Regression/CodeGen/Generic/print-int.ll index ee7d3d1d5fee..cd3e2b276daf 100644 --- a/llvm/test/Regression/CodeGen/Generic/print-int.ll +++ b/llvm/test/Regression/CodeGen/Generic/print-int.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %.str_1 = internal constant [4 x sbyte] c"%d\0A\00" declare int %printf(sbyte*, ...) diff --git a/llvm/test/Regression/CodeGen/Generic/print-mul-exp.ll b/llvm/test/Regression/CodeGen/Generic/print-mul-exp.ll index ea2882f9a3f0..0a8fd782b75f 100644 --- a/llvm/test/Regression/CodeGen/Generic/print-mul-exp.ll +++ b/llvm/test/Regression/CodeGen/Generic/print-mul-exp.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %a_str = internal constant [8 x sbyte] c"a = %d\0A\00" %a_mul_str = internal constant [13 x sbyte] c"a * %d = %d\0A\00" %A = global int 2 diff --git a/llvm/test/Regression/CodeGen/Generic/print-mul.ll b/llvm/test/Regression/CodeGen/Generic/print-mul.ll index e406545f20a8..80d2d5140d5a 100644 --- a/llvm/test/Regression/CodeGen/Generic/print-mul.ll +++ b/llvm/test/Regression/CodeGen/Generic/print-mul.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %a_str = internal constant [8 x sbyte] c"a = %d\0A\00" %b_str = internal constant [8 x sbyte] c"b = %d\0A\00" diff --git a/llvm/test/Regression/CodeGen/Generic/print-shift.ll b/llvm/test/Regression/CodeGen/Generic/print-shift.ll index 71bbbd1350c3..8ce3bac15901 100644 --- a/llvm/test/Regression/CodeGen/Generic/print-shift.ll +++ b/llvm/test/Regression/CodeGen/Generic/print-shift.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + %a_str = internal constant [8 x sbyte] c"a = %d\0A\00" %b_str = internal constant [8 x sbyte] c"b = %d\0A\00" diff --git a/llvm/test/Regression/CodeGen/Generic/ret0.ll b/llvm/test/Regression/CodeGen/Generic/ret0.ll index fc7086309f10..439a2f3284b9 100644 --- a/llvm/test/Regression/CodeGen/Generic/ret0.ll +++ b/llvm/test/Regression/CodeGen/Generic/ret0.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + int %main() { ret int 0 } diff --git a/llvm/test/Regression/CodeGen/Generic/ret42.ll b/llvm/test/Regression/CodeGen/Generic/ret42.ll index 62890e4e7582..ac14231b8b8c 100644 --- a/llvm/test/Regression/CodeGen/Generic/ret42.ll +++ b/llvm/test/Regression/CodeGen/Generic/ret42.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as < %s | llc + int %main() { ret int 42 }