llvm.org GIT mirror llvm / 12ff968
Adding XFAIL lines for dejagnu support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17514 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 14 years ago
38 changed file(s) with 41 addition(s) and 24 deletion(s). Raw diff Collapse all Expand all
0 ; This should cause the global node to collapse!!
1 ;
1 ; XFAIL: *
22 ; RUN: analyze %s -datastructure-gc --dsgc-check-flags=test:GAU
33
44 %Tree = type { int, %Tree*, %Tree* }
0 ; This test was failing because the globals X and Y are marked incomplete
11 ; in the TD graph for %test
2
2 ; XFAIL: *
33 ; RUN: llvm-as < %s | opt -no-aa -ds-aa -load-vn -gcse -instcombine | llvm-dis | not grep seteq
44
55 %X = internal global int 20
0 ; Test that ds-aa is returning must-alias information when it can.
1
1 ; XFAIL: *
22 ; RUN: llvm-as < %s | opt -no-aa -ds-aa -load-vn -gcse | llvm-dis | not grep load
33
44 %X = internal global int 20
0 ; This should parse correctly without an 'implementation', but our current YACC
11 ; based parser doesn't have the required 2 token lookahead...
2 ; XFAIL
2 ; XFAIL: *
33
44 %T = type int *
55
0 ; This file takes about 48 __MINUTES__ to assemble using as. This is WAY too
11 ; long. The type resolution code needs to be sped up a lot.
2
32 ; RUN: ulimit -t 20; llvm-as < %s
43
54 %ALL_INTERSECTIONS_METHOD = type int (%OBJECT*, %RAY*, %ISTACK*)*
None
0 // XFAIL: darwin,sun
11 // Default placement versions of operator new.
22 inline void* operator new(unsigned, void* __p) throw();
33
None
0 // XFAIL: linux,sun,darwin
11
22 union foo {
33 struct { char A, B; } X;
None
0 // XFAIL: *
11 /* It is unlikely that LLVM will ever support nested functions, but if it does,
22 here is a testcase. */
33
None /* This is apparently legal C. */
0 /* This is apparently legal C.
1 */
12 extern __inline__ void test() { }
23
34 void test() {
None
0 // XFAIL: linux,sun,darwin
11 struct istruct {
22 unsigned char C;
33 };
None
1 struct foo {
21 unsigned int I:1;
32 unsigned char J[1][123];
0 /*
11 * This regression test ensures that the C front end can compile initializers
22 * even when it cannot determine the size (as below).
3 */
3 * XFAIL: linux,darwin
4 */
45 struct one
56 {
67 int a;
0 // XFAIL: *
1 // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset
12
23 char test(int X) {
0 // XFAIL: *
1 // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep declare
12
23 int one (int a) {
None
0 /*
1 * XFAIL: linux
2 */
13 struct s {
24 unsigned long long u33: 33;
35 unsigned long long u40: 40;
88 ;;
99 ;; Incorrect LLC Output for the array yy_ec was:
1010 ;; yy_ec_1094:
11 ;; XFAIL: darwin
1112 ;; .ascii "\000\001\001\001\001\001\001\001\001\002\003\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\002\004\005\001\001\006\a\001\b\t\n\v\f\r\016\017\020\020\020\020\020\020\020\020\020\020\001\021\022\023\024\001\001\025\025\025\025\025\025\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\026\027\030\031\032\001\033\034\035\036\037 !\"#$%&'()*+,-./$0$1$234\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
1213 ;;
1314
55 ;; -- outgoing args of some function calls have to be swapped, causing
66 ;; another write/read from stack to do the exchange (use -dregalloc=y).
77 ;;
8 ;; XFAIL: darwin
89 %Arity = type %struct.arity*
910 %Binding = type %struct.binding*
1011 %DeltaCost = type [4 x short]
0 ; This testcase ensures the code emitter does something about the fact that
11 ; we can have collisions with keywords
2
2 ; XFAIL: linux,sun
33 ; RUN: llvm-as < %s | llc | not grep '^byte:'
44
55 void %byte() {
88 ;;
99 ;; Incorrect LLC Output for the array yy_ec was:
1010 ;; yy_ec_1094:
11 ;; XFAIL: darwin
1112 ;; .ascii "\000\001\001\001\001\001\001\001\001\002\003\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\002\004\005\001\001\006\a\001\b\t\n\v\f\r\016\017\020\020\020\020\020\020\020\020\020\020\001\021\022\023\024\001\001\025\025\025\025\025\025\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\026\027\030\031\032\001\033\034\035\036\037 !\"#$%&'()*+,-./$0$1$234\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
1213 ;;
1314
55 ;; -- outgoing args of some function calls have to be swapped, causing
66 ;; another write/read from stack to do the exchange (use -dregalloc=y).
77 ;;
8 ;; XFAIL: darwin
89 %Arity = type %struct.arity*
910 %Binding = type %struct.binding*
1011 %DeltaCost = type [4 x short]
1010 ;
1111 ; Note that this is a "feature" test, not a correctness test.
1212 ;
13 ; XFAIL: *
1314 ; RUN: llvm-as < %s | opt -cee -simplifycfg | llvm-dis | not grep cond213
1415 ;
1516 implementation ; Functions:
0 ; a load or store of a pointer indicates that the pointer is not null.
11 ; Any succeeding uses of the pointer should get this info
2
2 ;
3 ; XFAIL: *
34 ; RUN: llvm-as < %s | opt -cee -instcombine -simplifycfg | llvm-dis | not grep br
45
56 implementation ; Functions:
0 ; XFAIL: *
1 ;
12 ; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | not grep '\.\.\.'
23
0 ; XFAIL: *
1 ; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
12
23 declare int %foo(int *%X)
0 ; XFAIL: *
1 ; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar
12
23 %G = global long 0
0 ; This file contains various testcases that require tracking whether bits are
11 ; set or cleared by various instructions.
2
2 ; XFAIL: *
33 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep %ELIM
44
55 ; test1 - Eliminating the casts in this testcase (by narrowing the AND
0 ; Testcase for calls to the standard C "pow" function
11 ;
22 ; Equivalent to: http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01786.html
3
3 ; XFAIL: *
44 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'call double %pow'
55
66 declare double %pow(double, double)
1616 ; The fix is to have the -raise pass correctly convert it to the second
1717 ; equivelent form.
1818 ;
19 ; XFAIL: *
1920 ; RUN: llvm-as < %s | opt -q -raise > Output/%s.raised.bc
2021 ; RUN: lli -force-interpreter -array-checks < Output/%s.raised.bc
2122 ;
0 ; This example should be raised to return a Hash directly without casting. To
11 ; successful, all cast instructions should be eliminated from this testcase.
22 ;
3
3 ; XFAIL: *
44 ; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep cast
55
66 %Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
11 ; instructions to change type if they were 'array' allocations. This
22 ; prevented reg115 from being able to change.
33 ;
4
4 ; XFAIL: *
55 ; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
66
77 %Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
0 ; XFAIL: *
1 ; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
12
23 %Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
0 ; XFAIL: *
1 ; this testcase is distilled from this C source:
12 ; int *foo(unsigned N, unsigned M) {
23 ; unsigned i = (N+1)*sizeof(int);
0 ; This testcase is not level raised properly...
1 ;
1 ; XFAIL: *
22 ; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
33
44 %List = type { int, %List* }
0 ; XFAIL: *
1 ; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
12
23 %FILE = type { int, ubyte*, ubyte*, ubyte, ubyte, uint, uint, uint }
33 ;
44 ; This could be fixed by making all stores add themselves to a list, and check
55 ; their arguments are consistent AFTER all other values are propogated.
6
6 ; XFAIL: *
77 ; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep '= cast'
88
99 %Tree = type %struct.tree*
0 ; Looks like we don't raise alloca's like we do mallocs
1 ;
1 ; XFAIL: *
22 ; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
33
44 implementation ; Functions:
0 ; This is a feature test. Hopefully one day this will be implemented. The
11 ; generated code should perform the appropriate masking operations required
22 ; depending on the endianness of the target...
3
3 ; XFAIL: *
44 ; RUN: llvm-as < %s | opt -mem2reg | llvm-dis | not grep 'alloca'
55
66 implementation
0 ; This testcase is due to tail-duplication not wanting to copy the return
11 ; instruction into the terminating blocks because there was other code
22 ; optimized out of the function after the taildup happened.
3
3 ; XFAIL: linux,sun,darwin
44 ; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call
55
66 int %t4(int %a) {