From 2393a24fedc98dd62c9f338d0f08e367a4929369 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Sat, 6 Nov 2004 23:08:26 +0000 Subject: [PATCH] Adding RUN lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll | 2 ++ test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll | 2 ++ test/CodeGen/Generic/2003-05-27-phifcmpd.ll | 2 ++ test/CodeGen/Generic/2003-05-27-useboolinotherbb.ll | 2 ++ test/CodeGen/Generic/2003-05-27-usefsubasbool.ll | 2 ++ test/CodeGen/Generic/2003-05-28-ManyArgs.ll | 2 ++ test/CodeGen/Generic/2003-05-30-BadFoldGEP.ll | 2 ++ test/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll | 2 ++ test/CodeGen/Generic/2003-07-06-BadIntCmp.ll | 2 ++ test/CodeGen/Generic/2003-07-07-BadLongConst.ll | 2 ++ test/CodeGen/Generic/2003-07-08-BadCastToBool.ll | 2 ++ test/CodeGen/Generic/2003-07-29-BadConstSbyte.ll | 2 ++ test/CodeGen/Generic/BurgBadRegAlloc.ll | 2 ++ test/CodeGen/Generic/badCallArgLRLLVM.ll | 2 ++ test/CodeGen/Generic/badFoldGEP.ll | 2 ++ test/CodeGen/Generic/badarg6.ll | 2 ++ test/CodeGen/Generic/badlive.ll | 2 ++ test/CodeGen/Generic/constindices.ll | 2 ++ test/CodeGen/Generic/fwdtwice.ll | 2 ++ test/CodeGen/Generic/negintconst.ll | 2 ++ test/CodeGen/Generic/sched.ll | 2 ++ test/CodeGen/Generic/select.ll | 2 ++ test/CodeGen/Generic/spillccr.ll | 2 ++ test/LLC/2002-04-14-UnexpectedUnsignedType.ll | 2 ++ test/LLC/2002-04-16-StackFrameSizeAlignment.ll | 2 ++ test/LLC/2003-05-27-phifcmpd.ll | 2 ++ test/LLC/2003-05-27-useboolinotherbb.ll | 2 ++ test/LLC/2003-05-27-usefsubasbool.ll | 2 ++ test/LLC/2003-05-28-ManyArgs.ll | 2 ++ test/LLC/2003-05-30-BadFoldGEP.ll | 2 ++ test/LLC/2003-05-30-BadPreselectPhi.ll | 2 ++ test/LLC/2003-07-06-BadIntCmp.ll | 2 ++ test/LLC/2003-07-07-BadLongConst.ll | 2 ++ test/LLC/2003-07-08-BadCastToBool.ll | 2 ++ test/LLC/2003-07-29-BadConstSbyte.ll | 2 ++ test/LLC/BurgBadRegAlloc.ll | 2 ++ test/LLC/badCallArgLRLLVM.ll | 2 ++ test/LLC/badFoldGEP.ll | 2 ++ test/LLC/badarg6.ll | 2 ++ test/LLC/badlive.ll | 2 ++ test/LLC/constindices.ll | 2 ++ test/LLC/fwdtwice.ll | 2 ++ test/LLC/negintconst.ll | 2 ++ test/LLC/sched.ll | 2 ++ test/LLC/select.ll | 2 ++ test/LLC/spillccr.ll | 2 ++ test/Verifier/2002-04-13-RetTypes.ll | 2 ++ test/Verifier/2002-11-05-GetelementptrPointers.ll | 2 ++ test/Verifier/2003-11-21-FunctionReturningStructure.ll | 2 ++ test/Verifier/2004-05-21-SwitchConstantMismatch.ll | 2 ++ test/Verifier/AmbiguousPhi.ll | 2 ++ test/Verifier/PhiGrouping.ll | 2 ++ test/Verifier/SelfReferential.ll | 2 ++ 53 files changed, 106 insertions(+) diff --git a/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll b/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll index 6e617361bc8..559a4815c27 100644 --- a/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll +++ b/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; This causes the backend to assert out with: ; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"' ; diff --git a/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll b/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll index f43d5db2455..f00aad7900c 100644 --- a/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll +++ b/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; Compiling this file produces: ; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0' ; diff --git a/test/CodeGen/Generic/2003-05-27-phifcmpd.ll b/test/CodeGen/Generic/2003-05-27-phifcmpd.ll index 1561bebaad1..632b984ee98 100644 --- a/test/CodeGen/Generic/2003-05-27-phifcmpd.ll +++ b/test/CodeGen/Generic/2003-05-27-phifcmpd.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c ;; Function: Matrix QRiterate(Matrix A, Matrix U) diff --git a/test/CodeGen/Generic/2003-05-27-useboolinotherbb.ll b/test/CodeGen/Generic/2003-05-27-useboolinotherbb.ll index ef8b8cc7e98..3864d530622 100644 --- a/test/CodeGen/Generic/2003-05-27-useboolinotherbb.ll +++ b/test/CodeGen/Generic/2003-05-27-useboolinotherbb.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 27, 2003. ;; From: Variant of 2003-05-27-usefsubasbool.ll ;; diff --git a/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll b/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll index 124b267ca28..5b756b56ee8 100644 --- a/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll +++ b/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 27, 2003. ;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c ;; Function: Matrix QRiterate(Matrix A, Matrix U) diff --git a/test/CodeGen/Generic/2003-05-28-ManyArgs.ll b/test/CodeGen/Generic/2003-05-28-ManyArgs.ll index 56dc8bbdee7..4fcc10525f1 100644 --- a/test/CodeGen/Generic/2003-05-28-ManyArgs.ll +++ b/test/CodeGen/Generic/2003-05-28-ManyArgs.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/External/SPEC/CINT2000/175.vpr.llvm.bc ;; Function: int %main(int %argc.1, sbyte** %argv.1) diff --git a/test/CodeGen/Generic/2003-05-30-BadFoldGEP.ll b/test/CodeGen/Generic/2003-05-30-BadFoldGEP.ll index 47caabbd767..5b372c51df5 100644 --- a/test/CodeGen/Generic/2003-05-30-BadFoldGEP.ll +++ b/test/CodeGen/Generic/2003-05-30-BadFoldGEP.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/External/SPEC/CINT2000/254.gap.llvm.bc ;; Function: int %OpenOutput(sbyte* %filename.1) diff --git a/test/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll b/test/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll index 76f4a915463..7e6be13fdf2 100644 --- a/test/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll +++ b/test/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/SingleSource/richards_benchmark.c ;; Function: struct task *handlerfn(struct packet *pkt) diff --git a/test/CodeGen/Generic/2003-07-06-BadIntCmp.ll b/test/CodeGen/Generic/2003-07-06-BadIntCmp.ll index 65944464588..197ff2fdef6 100644 --- a/test/CodeGen/Generic/2003-07-06-BadIntCmp.ll +++ b/test/CodeGen/Generic/2003-07-06-BadIntCmp.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/MultiSource/Olden-perimeter/maketree.c ;; Function: int CheckOutside(int x, int y) diff --git a/test/CodeGen/Generic/2003-07-07-BadLongConst.ll b/test/CodeGen/Generic/2003-07-07-BadLongConst.ll index 07908f0d597..1b49b776bc0 100644 --- a/test/CodeGen/Generic/2003-07-07-BadLongConst.ll +++ b/test/CodeGen/Generic/2003-07-07-BadLongConst.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + target endian = big target pointersize = 64 diff --git a/test/CodeGen/Generic/2003-07-08-BadCastToBool.ll b/test/CodeGen/Generic/2003-07-08-BadCastToBool.ll index 5736c951b73..b51105a0b19 100644 --- a/test/CodeGen/Generic/2003-07-08-BadCastToBool.ll +++ b/test/CodeGen/Generic/2003-07-08-BadCastToBool.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: Jul 8, 2003. ;; From: test/Programs/MultiSource/Olden-perimeter ;; Function: int %adj(uint %d.1, uint %ct.1) diff --git a/test/CodeGen/Generic/2003-07-29-BadConstSbyte.ll b/test/CodeGen/Generic/2003-07-29-BadConstSbyte.ll index be7767fa696..7a32dc08db0 100644 --- a/test/CodeGen/Generic/2003-07-29-BadConstSbyte.ll +++ b/test/CodeGen/Generic/2003-07-29-BadConstSbyte.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: Jul 29, 2003. ;; From: test/Programs/MultiSource/Ptrdist-bc ;; Function: --- diff --git a/test/CodeGen/Generic/BurgBadRegAlloc.ll b/test/CodeGen/Generic/BurgBadRegAlloc.ll index 323841c9b09..4de4cce014d 100644 --- a/test/CodeGen/Generic/BurgBadRegAlloc.ll +++ b/test/CodeGen/Generic/BurgBadRegAlloc.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Register allocation is doing a very poor job on this routine from yyparse ;; in Burg: ;; -- at least two long-lived values are being allocated to %o? registers diff --git a/test/CodeGen/Generic/badCallArgLRLLVM.ll b/test/CodeGen/Generic/badCallArgLRLLVM.ll index 0a29e6de18a..47a2aff073d 100644 --- a/test/CodeGen/Generic/badCallArgLRLLVM.ll +++ b/test/CodeGen/Generic/badCallArgLRLLVM.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; This caused a problem because the argument of a call was defined by ; the return value of another call that appears later in the code. ; When processing the first call, the second call has not yet been processed diff --git a/test/CodeGen/Generic/badFoldGEP.ll b/test/CodeGen/Generic/badFoldGEP.ll index 0e581bc8645..e0744af8a43 100644 --- a/test/CodeGen/Generic/badFoldGEP.ll +++ b/test/CodeGen/Generic/badFoldGEP.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; GetMemInstArgs() folded the two getElementPtr instructions together, ;; producing an illegal getElementPtr. That's because the type generated ;; by the last index for the first one is a structure field, not an array diff --git a/test/CodeGen/Generic/badarg6.ll b/test/CodeGen/Generic/badarg6.ll index 259e6fc8ef3..9b564f8684b 100644 --- a/test/CodeGen/Generic/badarg6.ll +++ b/test/CodeGen/Generic/badarg6.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; On this code, llc did not pass the sixth argument (%reg321) to printf. ; It passed the first five in %o0 - %o4, but never initialized %o5. ; Fix in SparcInstrSelection.cpp: diff --git a/test/CodeGen/Generic/badlive.ll b/test/CodeGen/Generic/badlive.ll index fe94f764a26..5a4b2140b15 100644 --- a/test/CodeGen/Generic/badlive.ll +++ b/test/CodeGen/Generic/badlive.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + implementation int "main"() diff --git a/test/CodeGen/Generic/constindices.ll b/test/CodeGen/Generic/constindices.ll index 540225c21d6..637d72d6535 100644 --- a/test/CodeGen/Generic/constindices.ll +++ b/test/CodeGen/Generic/constindices.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; Test that a sequence of constant indices are folded correctly ; into the equivalent offset at compile-time. diff --git a/test/CodeGen/Generic/fwdtwice.ll b/test/CodeGen/Generic/fwdtwice.ll index 44c72587b25..5aa8b724c73 100644 --- a/test/CodeGen/Generic/fwdtwice.ll +++ b/test/CodeGen/Generic/fwdtwice.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; ;; Test the sequence: ;; cast -> setle 0, %cast -> br %cond diff --git a/test/CodeGen/Generic/negintconst.ll b/test/CodeGen/Generic/negintconst.ll index 5cb5b24268e..4c8fe74cbd7 100644 --- a/test/CodeGen/Generic/negintconst.ll +++ b/test/CodeGen/Generic/negintconst.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; Test that a negative constant smaller than 64 bits (e.g., int) ; is correctly implemented with sign-extension. ; In particular, the current code generated is: diff --git a/test/CodeGen/Generic/sched.ll b/test/CodeGen/Generic/sched.ll index 58603b5fba8..477425f6158 100644 --- a/test/CodeGen/Generic/sched.ll +++ b/test/CodeGen/Generic/sched.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + implementation declare int "printf"(sbyte*, int, float) diff --git a/test/CodeGen/Generic/select.ll b/test/CodeGen/Generic/select.ll index e7b5fddc172..7e1a10d97ec 100644 --- a/test/CodeGen/Generic/select.ll +++ b/test/CodeGen/Generic/select.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + %AConst = constant int 123 %Domain = type { sbyte*, int, int*, int, int, int*, %Domain* } diff --git a/test/CodeGen/Generic/spillccr.ll b/test/CodeGen/Generic/spillccr.ll index df9c7a0e91a..8223d09867b 100644 --- a/test/CodeGen/Generic/spillccr.ll +++ b/test/CodeGen/Generic/spillccr.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; July 6, 2002 -- LLC Regression test ; This test case checks if the integer CC register %xcc (or %ccr) ; is correctly spilled. The code fragment came from function diff --git a/test/LLC/2002-04-14-UnexpectedUnsignedType.ll b/test/LLC/2002-04-14-UnexpectedUnsignedType.ll index 6e617361bc8..559a4815c27 100644 --- a/test/LLC/2002-04-14-UnexpectedUnsignedType.ll +++ b/test/LLC/2002-04-14-UnexpectedUnsignedType.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; This causes the backend to assert out with: ; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"' ; diff --git a/test/LLC/2002-04-16-StackFrameSizeAlignment.ll b/test/LLC/2002-04-16-StackFrameSizeAlignment.ll index f43d5db2455..f00aad7900c 100644 --- a/test/LLC/2002-04-16-StackFrameSizeAlignment.ll +++ b/test/LLC/2002-04-16-StackFrameSizeAlignment.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; Compiling this file produces: ; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0' ; diff --git a/test/LLC/2003-05-27-phifcmpd.ll b/test/LLC/2003-05-27-phifcmpd.ll index 1561bebaad1..632b984ee98 100644 --- a/test/LLC/2003-05-27-phifcmpd.ll +++ b/test/LLC/2003-05-27-phifcmpd.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c ;; Function: Matrix QRiterate(Matrix A, Matrix U) diff --git a/test/LLC/2003-05-27-useboolinotherbb.ll b/test/LLC/2003-05-27-useboolinotherbb.ll index ef8b8cc7e98..3864d530622 100644 --- a/test/LLC/2003-05-27-useboolinotherbb.ll +++ b/test/LLC/2003-05-27-useboolinotherbb.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 27, 2003. ;; From: Variant of 2003-05-27-usefsubasbool.ll ;; diff --git a/test/LLC/2003-05-27-usefsubasbool.ll b/test/LLC/2003-05-27-usefsubasbool.ll index 124b267ca28..5b756b56ee8 100644 --- a/test/LLC/2003-05-27-usefsubasbool.ll +++ b/test/LLC/2003-05-27-usefsubasbool.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 27, 2003. ;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c ;; Function: Matrix QRiterate(Matrix A, Matrix U) diff --git a/test/LLC/2003-05-28-ManyArgs.ll b/test/LLC/2003-05-28-ManyArgs.ll index 56dc8bbdee7..4fcc10525f1 100644 --- a/test/LLC/2003-05-28-ManyArgs.ll +++ b/test/LLC/2003-05-28-ManyArgs.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/External/SPEC/CINT2000/175.vpr.llvm.bc ;; Function: int %main(int %argc.1, sbyte** %argv.1) diff --git a/test/LLC/2003-05-30-BadFoldGEP.ll b/test/LLC/2003-05-30-BadFoldGEP.ll index 47caabbd767..5b372c51df5 100644 --- a/test/LLC/2003-05-30-BadFoldGEP.ll +++ b/test/LLC/2003-05-30-BadFoldGEP.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/External/SPEC/CINT2000/254.gap.llvm.bc ;; Function: int %OpenOutput(sbyte* %filename.1) diff --git a/test/LLC/2003-05-30-BadPreselectPhi.ll b/test/LLC/2003-05-30-BadPreselectPhi.ll index 76f4a915463..7e6be13fdf2 100644 --- a/test/LLC/2003-05-30-BadPreselectPhi.ll +++ b/test/LLC/2003-05-30-BadPreselectPhi.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/SingleSource/richards_benchmark.c ;; Function: struct task *handlerfn(struct packet *pkt) diff --git a/test/LLC/2003-07-06-BadIntCmp.ll b/test/LLC/2003-07-06-BadIntCmp.ll index 65944464588..197ff2fdef6 100644 --- a/test/LLC/2003-07-06-BadIntCmp.ll +++ b/test/LLC/2003-07-06-BadIntCmp.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: May 28, 2003. ;; From: test/Programs/MultiSource/Olden-perimeter/maketree.c ;; Function: int CheckOutside(int x, int y) diff --git a/test/LLC/2003-07-07-BadLongConst.ll b/test/LLC/2003-07-07-BadLongConst.ll index 07908f0d597..1b49b776bc0 100644 --- a/test/LLC/2003-07-07-BadLongConst.ll +++ b/test/LLC/2003-07-07-BadLongConst.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + target endian = big target pointersize = 64 diff --git a/test/LLC/2003-07-08-BadCastToBool.ll b/test/LLC/2003-07-08-BadCastToBool.ll index 5736c951b73..b51105a0b19 100644 --- a/test/LLC/2003-07-08-BadCastToBool.ll +++ b/test/LLC/2003-07-08-BadCastToBool.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: Jul 8, 2003. ;; From: test/Programs/MultiSource/Olden-perimeter ;; Function: int %adj(uint %d.1, uint %ct.1) diff --git a/test/LLC/2003-07-29-BadConstSbyte.ll b/test/LLC/2003-07-29-BadConstSbyte.ll index be7767fa696..7a32dc08db0 100644 --- a/test/LLC/2003-07-29-BadConstSbyte.ll +++ b/test/LLC/2003-07-29-BadConstSbyte.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Date: Jul 29, 2003. ;; From: test/Programs/MultiSource/Ptrdist-bc ;; Function: --- diff --git a/test/LLC/BurgBadRegAlloc.ll b/test/LLC/BurgBadRegAlloc.ll index 323841c9b09..4de4cce014d 100644 --- a/test/LLC/BurgBadRegAlloc.ll +++ b/test/LLC/BurgBadRegAlloc.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; Register allocation is doing a very poor job on this routine from yyparse ;; in Burg: ;; -- at least two long-lived values are being allocated to %o? registers diff --git a/test/LLC/badCallArgLRLLVM.ll b/test/LLC/badCallArgLRLLVM.ll index 0a29e6de18a..47a2aff073d 100644 --- a/test/LLC/badCallArgLRLLVM.ll +++ b/test/LLC/badCallArgLRLLVM.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; This caused a problem because the argument of a call was defined by ; the return value of another call that appears later in the code. ; When processing the first call, the second call has not yet been processed diff --git a/test/LLC/badFoldGEP.ll b/test/LLC/badFoldGEP.ll index 0e581bc8645..e0744af8a43 100644 --- a/test/LLC/badFoldGEP.ll +++ b/test/LLC/badFoldGEP.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; GetMemInstArgs() folded the two getElementPtr instructions together, ;; producing an illegal getElementPtr. That's because the type generated ;; by the last index for the first one is a structure field, not an array diff --git a/test/LLC/badarg6.ll b/test/LLC/badarg6.ll index 259e6fc8ef3..9b564f8684b 100644 --- a/test/LLC/badarg6.ll +++ b/test/LLC/badarg6.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; On this code, llc did not pass the sixth argument (%reg321) to printf. ; It passed the first five in %o0 - %o4, but never initialized %o5. ; Fix in SparcInstrSelection.cpp: diff --git a/test/LLC/badlive.ll b/test/LLC/badlive.ll index fe94f764a26..5a4b2140b15 100644 --- a/test/LLC/badlive.ll +++ b/test/LLC/badlive.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + implementation int "main"() diff --git a/test/LLC/constindices.ll b/test/LLC/constindices.ll index 540225c21d6..637d72d6535 100644 --- a/test/LLC/constindices.ll +++ b/test/LLC/constindices.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; Test that a sequence of constant indices are folded correctly ; into the equivalent offset at compile-time. diff --git a/test/LLC/fwdtwice.ll b/test/LLC/fwdtwice.ll index 44c72587b25..5aa8b724c73 100644 --- a/test/LLC/fwdtwice.ll +++ b/test/LLC/fwdtwice.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ;; ;; Test the sequence: ;; cast -> setle 0, %cast -> br %cond diff --git a/test/LLC/negintconst.ll b/test/LLC/negintconst.ll index 5cb5b24268e..4c8fe74cbd7 100644 --- a/test/LLC/negintconst.ll +++ b/test/LLC/negintconst.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; Test that a negative constant smaller than 64 bits (e.g., int) ; is correctly implemented with sign-extension. ; In particular, the current code generated is: diff --git a/test/LLC/sched.ll b/test/LLC/sched.ll index 58603b5fba8..477425f6158 100644 --- a/test/LLC/sched.ll +++ b/test/LLC/sched.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + implementation declare int "printf"(sbyte*, int, float) diff --git a/test/LLC/select.ll b/test/LLC/select.ll index e7b5fddc172..7e1a10d97ec 100644 --- a/test/LLC/select.ll +++ b/test/LLC/select.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + %AConst = constant int 123 %Domain = type { sbyte*, int, int*, int, int, int*, %Domain* } diff --git a/test/LLC/spillccr.ll b/test/LLC/spillccr.ll index df9c7a0e91a..8223d09867b 100644 --- a/test/LLC/spillccr.ll +++ b/test/LLC/spillccr.ll @@ -1,3 +1,5 @@ +; RUN: llvm-as -f %s -o - | llc + ; July 6, 2002 -- LLC Regression test ; This test case checks if the integer CC register %xcc (or %ccr) ; is correctly spilled. The code fragment came from function diff --git a/test/Verifier/2002-04-13-RetTypes.ll b/test/Verifier/2002-04-13-RetTypes.ll index fe8d6241232..1ebed17a02b 100644 --- a/test/Verifier/2002-04-13-RetTypes.ll +++ b/test/Verifier/2002-04-13-RetTypes.ll @@ -1,3 +1,5 @@ +; RUN: not llvm-as -f %s -o /dev/null + ; Verify the the operand type of the ret instructions in a function match the ; delcared return type of the function they live in. ; diff --git a/test/Verifier/2002-11-05-GetelementptrPointers.ll b/test/Verifier/2002-11-05-GetelementptrPointers.ll index 067623c5ba0..db3f766a73e 100644 --- a/test/Verifier/2002-11-05-GetelementptrPointers.ll +++ b/test/Verifier/2002-11-05-GetelementptrPointers.ll @@ -1,3 +1,5 @@ +; RUN: not llvm-as -f %s -o /dev/null + ; This testcase is invalid because we are indexing into a pointer that is ; contained WITHIN a structure. diff --git a/test/Verifier/2003-11-21-FunctionReturningStructure.ll b/test/Verifier/2003-11-21-FunctionReturningStructure.ll index dc7d39e5c4b..e1d3ba82f7f 100644 --- a/test/Verifier/2003-11-21-FunctionReturningStructure.ll +++ b/test/Verifier/2003-11-21-FunctionReturningStructure.ll @@ -1,3 +1,5 @@ +; RUN: not llvm-as -f %s -o /dev/null + %T = type { int } diff --git a/test/Verifier/2004-05-21-SwitchConstantMismatch.ll b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll index b5fa4895bb8..e965c6dac92 100644 --- a/test/Verifier/2004-05-21-SwitchConstantMismatch.ll +++ b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll @@ -1,3 +1,5 @@ +; RUN: not llvm-as -f %s -o /dev/null + int %main() { diff --git a/test/Verifier/AmbiguousPhi.ll b/test/Verifier/AmbiguousPhi.ll index 7da71b05162..f64ec3fd77e 100644 --- a/test/Verifier/AmbiguousPhi.ll +++ b/test/Verifier/AmbiguousPhi.ll @@ -1,3 +1,5 @@ +; RUN: not llvm-as -f %s -o /dev/null + int "test"(int %i, int %j, bool %c) { diff --git a/test/Verifier/PhiGrouping.ll b/test/Verifier/PhiGrouping.ll index 71fbb1c4e5d..aa1203b73a0 100644 --- a/test/Verifier/PhiGrouping.ll +++ b/test/Verifier/PhiGrouping.ll @@ -1,3 +1,5 @@ +; RUN: not llvm-as -f %s -o /dev/null + int "test"(int %i, int %j, bool %c) { diff --git a/test/Verifier/SelfReferential.ll b/test/Verifier/SelfReferential.ll index 54fb018f2d4..1f7b837b32f 100644 --- a/test/Verifier/SelfReferential.ll +++ b/test/Verifier/SelfReferential.ll @@ -1,3 +1,5 @@ +; RUN: not llvm-as -f %s -o /dev/null + ; Test that self referential instructions are not allowed implementation