aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-11-06 23:08:26 +0000
committerTanya Lattner <tonic@nondot.org>2004-11-06 23:08:26 +0000
commit2393a24fedc98dd62c9f338d0f08e367a4929369 (patch)
tree410518a07ac59b4bdd366e48c9b77e30e077a06a /test
parente9af5d186bdf1620e3f0b74ecc7e49c25b82d186 (diff)
downloadexternal_llvm-2393a24fedc98dd62c9f338d0f08e367a4929369.zip
external_llvm-2393a24fedc98dd62c9f338d0f08e367a4929369.tar.gz
external_llvm-2393a24fedc98dd62c9f338d0f08e367a4929369.tar.bz2
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll2
-rw-r--r--test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll2
-rw-r--r--test/CodeGen/Generic/2003-05-27-phifcmpd.ll2
-rw-r--r--test/CodeGen/Generic/2003-05-27-useboolinotherbb.ll2
-rw-r--r--test/CodeGen/Generic/2003-05-27-usefsubasbool.ll2
-rw-r--r--test/CodeGen/Generic/2003-05-28-ManyArgs.ll2
-rw-r--r--test/CodeGen/Generic/2003-05-30-BadFoldGEP.ll2
-rw-r--r--test/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll2
-rw-r--r--test/CodeGen/Generic/2003-07-06-BadIntCmp.ll2
-rw-r--r--test/CodeGen/Generic/2003-07-07-BadLongConst.ll2
-rw-r--r--test/CodeGen/Generic/2003-07-08-BadCastToBool.ll2
-rw-r--r--test/CodeGen/Generic/2003-07-29-BadConstSbyte.ll2
-rw-r--r--test/CodeGen/Generic/BurgBadRegAlloc.ll2
-rw-r--r--test/CodeGen/Generic/badCallArgLRLLVM.ll2
-rw-r--r--test/CodeGen/Generic/badFoldGEP.ll2
-rw-r--r--test/CodeGen/Generic/badarg6.ll2
-rw-r--r--test/CodeGen/Generic/badlive.ll2
-rw-r--r--test/CodeGen/Generic/constindices.ll2
-rw-r--r--test/CodeGen/Generic/fwdtwice.ll2
-rw-r--r--test/CodeGen/Generic/negintconst.ll2
-rw-r--r--test/CodeGen/Generic/sched.ll2
-rw-r--r--test/CodeGen/Generic/select.ll2
-rw-r--r--test/CodeGen/Generic/spillccr.ll2
-rw-r--r--test/LLC/2002-04-14-UnexpectedUnsignedType.ll2
-rw-r--r--test/LLC/2002-04-16-StackFrameSizeAlignment.ll2
-rw-r--r--test/LLC/2003-05-27-phifcmpd.ll2
-rw-r--r--test/LLC/2003-05-27-useboolinotherbb.ll2
-rw-r--r--test/LLC/2003-05-27-usefsubasbool.ll2
-rw-r--r--test/LLC/2003-05-28-ManyArgs.ll2
-rw-r--r--test/LLC/2003-05-30-BadFoldGEP.ll2
-rw-r--r--test/LLC/2003-05-30-BadPreselectPhi.ll2
-rw-r--r--test/LLC/2003-07-06-BadIntCmp.ll2
-rw-r--r--test/LLC/2003-07-07-BadLongConst.ll2
-rw-r--r--test/LLC/2003-07-08-BadCastToBool.ll2
-rw-r--r--test/LLC/2003-07-29-BadConstSbyte.ll2
-rw-r--r--test/LLC/BurgBadRegAlloc.ll2
-rw-r--r--test/LLC/badCallArgLRLLVM.ll2
-rw-r--r--test/LLC/badFoldGEP.ll2
-rw-r--r--test/LLC/badarg6.ll2
-rw-r--r--test/LLC/badlive.ll2
-rw-r--r--test/LLC/constindices.ll2
-rw-r--r--test/LLC/fwdtwice.ll2
-rw-r--r--test/LLC/negintconst.ll2
-rw-r--r--test/LLC/sched.ll2
-rw-r--r--test/LLC/select.ll2
-rw-r--r--test/LLC/spillccr.ll2
-rw-r--r--test/Verifier/2002-04-13-RetTypes.ll2
-rw-r--r--test/Verifier/2002-11-05-GetelementptrPointers.ll2
-rw-r--r--test/Verifier/2003-11-21-FunctionReturningStructure.ll2
-rw-r--r--test/Verifier/2004-05-21-SwitchConstantMismatch.ll2
-rw-r--r--test/Verifier/AmbiguousPhi.ll2
-rw-r--r--test/Verifier/PhiGrouping.ll2
-rw-r--r--test/Verifier/SelfReferential.ll2
53 files changed, 106 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll b/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll
index 6e61736..559a481 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 f43d5db..f00aad7 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 1561beb..632b984 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 ef8b8cc..3864d53 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 124b267..5b756b5 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 56dc8bb..4fcc105 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 47caabb..5b372c5 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 76f4a91..7e6be13 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 6594446..197ff2f 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 07908f0..1b49b77 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 5736c95..b51105a 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 be7767f..7a32dc0 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 323841c..4de4cce 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 0a29e6d..47a2aff 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 0e581bc..e0744af 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 259e6fc..9b564f8 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 fe94f76..5a4b214 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 540225c..637d72d 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 44c7258..5aa8b72 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 5cb5b24..4c8fe74 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 58603b5..477425f 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 e7b5fdd..7e1a10d 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 df9c7a0..8223d09 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 6e61736..559a481 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 f43d5db..f00aad7 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 1561beb..632b984 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 ef8b8cc..3864d53 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 124b267..5b756b5 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 56dc8bb..4fcc105 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 47caabb..5b372c5 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 76f4a91..7e6be13 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 6594446..197ff2f 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 07908f0..1b49b77 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 5736c95..b51105a 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 be7767f..7a32dc0 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 323841c..4de4cce 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 0a29e6d..47a2aff 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 0e581bc..e0744af 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 259e6fc..9b564f8 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 fe94f76..5a4b214 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 540225c..637d72d 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 44c7258..5aa8b72 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 5cb5b24..4c8fe74 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 58603b5..477425f 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 e7b5fdd..7e1a10d 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 df9c7a0..8223d09 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 fe8d624..1ebed17 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 067623c..db3f766 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 dc7d39e..e1d3ba8 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 b5fa489..e965c6d 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 7da71b0..f64ec3f 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 71fbb1c..aa1203b 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 54fb018..1f7b837 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