llvm.org GIT mirror llvm / 2393a24
Adding RUN lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 15 years ago
53 changed file(s) with 106 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; This causes the backend to assert out with:
13 ; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"'
24 ;
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; Compiling this file produces:
13 ; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0'
24 ;
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c
24 ;; Function: Matrix QRiterate(Matrix A, Matrix U)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 27, 2003.
13 ;; From: Variant of 2003-05-27-usefsubasbool.ll
24 ;;
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 27, 2003.
13 ;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c
24 ;; Function: Matrix QRiterate(Matrix A, Matrix U)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/External/SPEC/CINT2000/175.vpr.llvm.bc
24 ;; Function: int %main(int %argc.1, sbyte** %argv.1)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/External/SPEC/CINT2000/254.gap.llvm.bc
24 ;; Function: int %OpenOutput(sbyte* %filename.1)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/SingleSource/richards_benchmark.c
24 ;; Function: struct task *handlerfn(struct packet *pkt)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/MultiSource/Olden-perimeter/maketree.c
24 ;; Function: int CheckOutside(int x, int y)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 target endian = big
13 target pointersize = 64
24
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: Jul 8, 2003.
13 ;; From: test/Programs/MultiSource/Olden-perimeter
24 ;; Function: int %adj(uint %d.1, uint %ct.1)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: Jul 29, 2003.
13 ;; From: test/Programs/MultiSource/Ptrdist-bc
24 ;; Function: ---
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Register allocation is doing a very poor job on this routine from yyparse
13 ;; in Burg:
24 ;; -- at least two long-lived values are being allocated to %o? registers
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; This caused a problem because the argument of a call was defined by
13 ; the return value of another call that appears later in the code.
24 ; When processing the first call, the second call has not yet been processed
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; GetMemInstArgs() folded the two getElementPtr instructions together,
13 ;; producing an illegal getElementPtr. That's because the type generated
24 ;; by the last index for the first one is a structure field, not an array
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; On this code, llc did not pass the sixth argument (%reg321) to printf.
13 ; It passed the first five in %o0 - %o4, but never initialized %o5.
24 ; Fix in SparcInstrSelection.cpp:
0 ; RUN: llvm-as -f %s -o - | llc
1
2 implementation
13
24 int "main"()
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; Test that a sequence of constant indices are folded correctly
13 ; into the equivalent offset at compile-time.
24
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;;
13 ;; Test the sequence:
24 ;; cast -> setle 0, %cast -> br %cond
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; Test that a negative constant smaller than 64 bits (e.g., int)
13 ; is correctly implemented with sign-extension.
24 ; In particular, the current code generated is:
0 ; RUN: llvm-as -f %s -o - | llc
1
2 implementation
13 declare int "printf"(sbyte*, int, float)
24
0 ; RUN: llvm-as -f %s -o - | llc
1
2 %AConst = constant int 123
13
24 %Domain = type { sbyte*, int, int*, int, int, int*, %Domain* }
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; July 6, 2002 -- LLC Regression test
13 ; This test case checks if the integer CC register %xcc (or %ccr)
24 ; is correctly spilled. The code fragment came from function
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; This causes the backend to assert out with:
13 ; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"'
24 ;
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; Compiling this file produces:
13 ; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0'
24 ;
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c
24 ;; Function: Matrix QRiterate(Matrix A, Matrix U)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 27, 2003.
13 ;; From: Variant of 2003-05-27-usefsubasbool.ll
24 ;;
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 27, 2003.
13 ;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c
24 ;; Function: Matrix QRiterate(Matrix A, Matrix U)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/External/SPEC/CINT2000/175.vpr.llvm.bc
24 ;; Function: int %main(int %argc.1, sbyte** %argv.1)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/External/SPEC/CINT2000/254.gap.llvm.bc
24 ;; Function: int %OpenOutput(sbyte* %filename.1)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/SingleSource/richards_benchmark.c
24 ;; Function: struct task *handlerfn(struct packet *pkt)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: May 28, 2003.
13 ;; From: test/Programs/MultiSource/Olden-perimeter/maketree.c
24 ;; Function: int CheckOutside(int x, int y)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 target endian = big
13 target pointersize = 64
24
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: Jul 8, 2003.
13 ;; From: test/Programs/MultiSource/Olden-perimeter
24 ;; Function: int %adj(uint %d.1, uint %ct.1)
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Date: Jul 29, 2003.
13 ;; From: test/Programs/MultiSource/Ptrdist-bc
24 ;; Function: ---
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; Register allocation is doing a very poor job on this routine from yyparse
13 ;; in Burg:
24 ;; -- at least two long-lived values are being allocated to %o? registers
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; This caused a problem because the argument of a call was defined by
13 ; the return value of another call that appears later in the code.
24 ; When processing the first call, the second call has not yet been processed
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;; GetMemInstArgs() folded the two getElementPtr instructions together,
13 ;; producing an illegal getElementPtr. That's because the type generated
24 ;; by the last index for the first one is a structure field, not an array
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; On this code, llc did not pass the sixth argument (%reg321) to printf.
13 ; It passed the first five in %o0 - %o4, but never initialized %o5.
24 ; Fix in SparcInstrSelection.cpp:
0 ; RUN: llvm-as -f %s -o - | llc
1
2 implementation
13
24 int "main"()
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; Test that a sequence of constant indices are folded correctly
13 ; into the equivalent offset at compile-time.
24
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ;;
13 ;; Test the sequence:
24 ;; cast -> setle 0, %cast -> br %cond
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; Test that a negative constant smaller than 64 bits (e.g., int)
13 ; is correctly implemented with sign-extension.
24 ; In particular, the current code generated is:
0 ; RUN: llvm-as -f %s -o - | llc
1
2 implementation
13 declare int "printf"(sbyte*, int, float)
24
0 ; RUN: llvm-as -f %s -o - | llc
1
2 %AConst = constant int 123
13
24 %Domain = type { sbyte*, int, int*, int, int, int*, %Domain* }
0 ; RUN: llvm-as -f %s -o - | llc
1
2 ; July 6, 2002 -- LLC Regression test
13 ; This test case checks if the integer CC register %xcc (or %ccr)
24 ; is correctly spilled. The code fragment came from function
0 ; RUN: not llvm-as -f %s -o /dev/null
1
2 ; Verify the the operand type of the ret instructions in a function match the
13 ; delcared return type of the function they live in.
24 ;
0 ; RUN: not llvm-as -f %s -o /dev/null
1
2 ; This testcase is invalid because we are indexing into a pointer that is
13 ; contained WITHIN a structure.
24
0 ; RUN: not llvm-as -f %s -o /dev/null
1
2
13 %T = type { int }
24
0 ; RUN: not llvm-as -f %s -o /dev/null
1
2
13
24 int %main() {
0 ; RUN: not llvm-as -f %s -o /dev/null
1
2
13
24 int "test"(int %i, int %j, bool %c) {
0 ; RUN: not llvm-as -f %s -o /dev/null
1
2
13
24 int "test"(int %i, int %j, bool %c) {
0 ; RUN: not llvm-as -f %s -o /dev/null
1
2 ; Test that self referential instructions are not allowed
13
24 implementation