Adding RUN lines.
authorTanya Lattner <tonic@nondot.org>
Sat, 6 Nov 2004 21:40:51 +0000 (21:40 +0000)
committerTanya Lattner <tonic@nondot.org>
Sat, 6 Nov 2004 21:40:51 +0000 (21:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17527 91177308-0d34-0410-b5e6-96231b3b80d8

46 files changed:
test/CodeGen/CBackend/2002-05-16-NameCollide.ll
test/CodeGen/CBackend/2002-05-21-MissingReturn.ll
test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll
test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll
test/CodeGen/CBackend/2002-08-19-DataPointer.ll
test/CodeGen/CBackend/2002-08-19-FunctionPointer.ll
test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll
test/CodeGen/CBackend/2002-08-20-RecursiveTypes.ll
test/CodeGen/CBackend/2002-08-20-UnnamedArgument.ll
test/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll
test/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll
test/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll
test/CodeGen/CBackend/2002-09-20-VarArgPrototypes.ll
test/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll
test/CodeGen/CBackend/2002-10-16-External.ll
test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll
test/CodeGen/CBackend/2002-11-06-PrintEscaped.ll
test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll
test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll
test/CodeGen/CBackend/2003-05-31-MissingStructName.ll
test/CodeGen/CBackend/2003-06-01-NullPointerType.ll
test/CodeGen/CBackend/2003-06-11-HexConstant.ll
test/CodeGen/CBackend/2003-06-11-LiteralStringProblem.ll
test/CodeGen/CBackend/2003-06-28-InvokeSupport.ll
test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll
test/CodeGen/CBackend/2003-10-23-UnusedType.ll
test/CodeGen/CBackend/2003-10-23-ZeroArgVarargs.ll
test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll
test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll
test/CodeGen/CBackend/2004-08-09-va-end-null.ll
test/CodeGen/Generic/call-ret0.ll
test/CodeGen/Generic/call-ret42.ll
test/CodeGen/Generic/call-void.ll
test/CodeGen/Generic/call2-ret0.ll
test/CodeGen/Generic/cast-fp.ll
test/CodeGen/Generic/global-ret0.ll
test/CodeGen/Generic/hello.ll
test/CodeGen/Generic/print-add.ll
test/CodeGen/Generic/print-arith-fp.ll
test/CodeGen/Generic/print-arith-int.ll
test/CodeGen/Generic/print-int.ll
test/CodeGen/Generic/print-mul-exp.ll
test/CodeGen/Generic/print-mul.ll
test/CodeGen/Generic/print-shift.ll
test/CodeGen/Generic/ret0.ll
test/CodeGen/Generic/ret42.ll

index c08024bbec4993492966ce15a26b469c0c35cadb..e9206b5045ad28fdfc629aee56f927244b7693a4 100644 (file)
@@ -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.
 
index 2fd3e27faf04d5bb45e4431c435609870ec96301..a5045b5f4abb2f146aef572660708fd0d9936d74 100644 (file)
@@ -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 */
index 8654baa6af58002814e0fee427b826856aa86171..4b776cd938f560b17717bf8c57a974ad942124bb 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 ; Test const pointer refs & forward references
 
 %t3 = global int * %t1           ;; Forward reference
index bbd34ec521715c8edce2835f728b891c576186bc..813a3478ee2494b45018093df8332cad9c14c6d6 100644 (file)
@@ -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
index f7481ea89b2c88632b1b8dce15b3b9de29fb4143..b76f1d22bee900e972a46ae3a6e7e54060526943 100644 (file)
@@ -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"
 
index ac28d939327332cbcf108b88575a9ac49f3bf3ac..c06d72dd6313f86eec575503b2f3fec05f0d510f 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 %fptr = global void() * %f       ;; Forward ref method defn
 declare void "f"()               ;; External method
 
index b0dca8edd54402ae3baf88beb26f8659ddb62646..f4f0a122debf40a1de291dccda1f1b190142672b 100644 (file)
@@ -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)               ; <int**> [#uses=1]
 
index cb20180ba7c1f9807f29389ca890acbcbfa160b9..1ae02d0ec2dd3e05be8e06908ab7859219ae0d99 100644 (file)
@@ -1,2 +1,4 @@
+; RUN: llvm-as < %s | llc -march=c
+
 %MyIntList = uninitialized global { \2 *, int }
 
index 842c2d7cba89c90d850e942ab24a2e3c76f1a870..46ac9b6ae98def101960b4c4cc7f9c72fbf66483 100644 (file)
@@ -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
index c8eeb591b75763461f158a1856977c6cb08a514b..9a76cfbc7a3125399e14d4641b46fb60d4e69d0a 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 ; Indirect function call test... found by Joel & Brian
 ;
 
index 36b9f34c9c56dc7603048f0c83a53787a63594a2..141928332f68e649658c8a4ae7b85ce73b64dac5 100644 (file)
@@ -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.
 
index 87eaadc144646700e0f0b0882049a9fd68fe03f6..66514c647c923df54914f3ee553c2e2be497f347 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 
 
 implementation
index 6f318fadc6e6db71cbfd76eb4c682c500a556c56..934bee45c4836c92293d03073815538e24f4b177 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 
 declare void %foo(...)
 
index 1cd65c2213e72743346d77140207be4df8596be9..4a82f279aa2a7e5bffe3ea2bcb802a537c34f1fd 100644 (file)
@@ -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]
index 3ad90899bdf6c33d28d85758b3069fb8ddc1ad2b..edfc397a9cf6c5c5930108acf179383552849da3 100644 (file)
@@ -1,2 +1,4 @@
+; RUN: llvm-as < %s | llc -march=c
+
 %bob = external global int              ; <int*> [#uses=2]
 
index 2e21ee75f315dcb9ec116fdc5d5c71ceac5e0a46..4e1ff83e014c0adb49a9408de3c617c6f3ac7842 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 
        %BitField = type int
         %tokenptr = type %BitField*
index 9451212c605c3d265c931bacb44cadc1675956f3..3d267325b7a216effed876826b22ce997b7ef6cd 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 %testString = internal constant [18 x sbyte] c "Escaped newline\n\00"
 
 implementation
index f709dfdfe4ece5f8e2eb14001dbee3372c096715..0f2fc1bbe39daadade940d0a17bf4fc2bcb4d0ea 100644 (file)
@@ -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() {
index 1b2c2b846e65d9c54eed87020681e537bec316b9..45638a08833479f12ff3e1d2f6b5116fe70b1a1b 100644 (file)
@@ -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.
 
index 1eae4062bb2816d005bdef4fef69419473d44f8a..6e86a2a01752fc5d1e63e909523e9adbc9cbe370 100644 (file)
@@ -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] }*)
index 31219230f3aef2882a6b1e8d031467057d4f49c5..5cd1c4c03bf5401027872fad51ad3bda07054ea8 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 
 %X = type { int, float }
 
index 31bbf885c50376dc8883800982d9e6bf58b8f00c..4b5ddaadff4a0d5dab5fda80a508b07776c54932 100644 (file)
@@ -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"
 
index 80d8aeaecd3f9155ba34e13b292d4a432b991fe9..bd89ec5848b02a0eedc1042a980113098d40f4de 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 
 %version = global [3 x sbyte] c"1\00\00"
 
index 65ccc5c1314cf7fa0b7a5b0c402932cca0a88342..cc59035f37ba9f4952163fc1cd8d397edae2e952 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 
 declare int %callee(int, int)
 
index 184ffb49d20a555b61e07999205f0305035cedbc..2addddaa5a911c2c0944fd6d67fb0eea31233d95 100644 (file)
@@ -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 } 
index 36d8073c7c8386f2d66e50087a9ba8fe133c79c7..bb9f4b7091be3e4bdd9d75c9555d3fd8509bb04e 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 
 %A = type { uint, sbyte*, { uint, uint, uint, uint, uint, uint, uint, uint }*, ushort }
 
index 4ba97411f02c86df10cf768345f405d9020c989a..0f010a2f15a2231db1f5f4dfa8d2499155af933f 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 
 declare sbyte* %llvm.va_start()
 declare void %llvm.va_end(sbyte*)
index f3a57754e8ca4252eb39947f03ff5c5933b9448d..ae0679ea41350b7e504b442946cb657976d104e8 100644 (file)
@@ -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
index 5bd088db9d019e8b263e73d71f27e153759d3dcd..32358a409f4754eb937543116e7e3ed0ea6853f0 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 %y = weak global sbyte 0
 implementation
 uint %testcaseshr() {
index 7828de39eb4c36e965542991b62c5914ad495dd1..f15fa86897d9bbed6ef5c708ae6e02aac96d1642 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc -march=c
+
 declare void %llvm.va_end(sbyte*)
 
 void %test() {
index 205b0be0c39d1817edaa2f37c906912db948b713..79edc1e6459889ec750cc398b7cd3a01301673f2 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 int %foo(int %x) {
   ret int %x
 }
index 3501288ab4b59a974cadbe09167c20f88cb0ee2e..2e8ed381a0c3461140f5db95551faacb30aae3db 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 int %foo(int %x) {
   ret int 42
 }
index b23a8d9b2877b278d5182d19a98f5ad5269a7722..1263b98976581380ff63ce668ca578552b762ca6 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 void %foo() {
   ret void
 }
index 6159e40c0974b62e0c01883f1e4a0ba2818d288a..a0bde8de2b45633097825dbb93df923c3b2e485d 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 int %bar(int %x) {
   ret int 0
 }
index 9205fc9cb4e245d714c05a03c9059a2a7e9832c0..1b80385cd4d7c370d69f9503f48d107f2d7294fb 100644 (file)
@@ -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"
index f013937a8c1008937fdf08c87434a5281b173483..993049dfb996fff61b850c9cb8941ff998f27b1e 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 %g = global int 0
 
 int %main() {  
index 3acde34f0fe89736d8961cc63e747fcf3e440750..e68d588519000a33cbbacd95140e33a569432156 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 %.str_1 = internal constant [7 x sbyte] c"hello\0A\00"
 
 declare int %printf(sbyte*, ...)
index 0e998f4d4945b24cf2179aca8c6c8bea3603b9c9..6e5c3c48fa4dd8d09a8469dd8ec0b72458d2a51b 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 %.str_1 = internal constant [4 x sbyte] c"%d\0A\00"
 
 declare int %printf(sbyte*, ...)
index da3c558a69bc94eee2c11eb0ed805fea259ef4e1..446dbea3fd800c7d312792707d272ef8de86426d 100644 (file)
@@ -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
index d767190e594d47c9c9e3a9374622ec957758f312..b67850388c501131d4a48664e8419ae8b51b2ad0 100644 (file)
@@ -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
index ee7d3d1d5feef4923dc36e2076b09c96c46099b9..cd3e2b276dafd137cfc7ef98fdde78b5c8d0af0f 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 %.str_1 = internal constant [4 x sbyte] c"%d\0A\00"
 
 declare int %printf(sbyte*, ...)
index ea2882f9a3f0de350870e29482b2a8c7d098d85c..0a8fd782b75f46857001c30b5a7dd3ef1e7d9ec2 100644 (file)
@@ -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
index e406545f20a8255c5fe92f9faade507c041d154c..80d2d5140d5a5d6815d7094c9ed09993f4b97c1e 100644 (file)
@@ -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"
 
index 71bbbd1350c37f79890b34e7db995c51134a4e62..8ce3bac15901afcaad25ec2bddd7fe3587688ed7 100644 (file)
@@ -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"
 
index fc7086309f10f820134437715adc486194fb7087..439a2f3284b9c5ab02bd8b926293ab0f01b01dfb 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 int %main() {  
   ret int 0
 }
index 62890e4e7582eb144b494c08deb8fee88b98f42b..ac14231b8b8c1fb6b6afb6061bea77c6e3298b85 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: llvm-as < %s | llc
+
 int %main() {  
   ret int 42
 }