diff --git a/llvm/test/Archive/ranlib_GNU.ll b/llvm/test/Archive/ranlib_GNU.ll index 6e8b5bcdb2af..44eb642bba98 100644 --- a/llvm/test/Archive/ranlib_GNU.ll +++ b/llvm/test/Archive/ranlib_GNU.ll @@ -5,4 +5,5 @@ ;RUN: llvm-ranlib %t.GNU.a ;RUN: llvm-ar t %t.GNU.a > %t1 ;RUN: diff %t1 %p/GNU.toc +;XFAIL: * diff --git a/llvm/test/Archive/ranlib_MacOSX.ll b/llvm/test/Archive/ranlib_MacOSX.ll index a22b4193917b..24c8b43747af 100644 --- a/llvm/test/Archive/ranlib_MacOSX.ll +++ b/llvm/test/Archive/ranlib_MacOSX.ll @@ -5,3 +5,4 @@ ;RUN: llvm-ranlib %t.MacOSX.a ;RUN: llvm-ar t %t.MacOSX.a > %t1 ;RUN: diff %t1 %p/MacOSX.toc +;XFAIL: * diff --git a/llvm/test/Archive/ranlib_SVR4.ll b/llvm/test/Archive/ranlib_SVR4.ll index 2c5915c9f56c..a1366c110257 100644 --- a/llvm/test/Archive/ranlib_SVR4.ll +++ b/llvm/test/Archive/ranlib_SVR4.ll @@ -5,4 +5,4 @@ ;RUN: llvm-ranlib %t.SVR4.a ;RUN: llvm-ar t %t.SVR4.a > %t1 ;RUN: diff %t1 %p/SVR4.toc - +;XFAIL: * diff --git a/llvm/test/Archive/ranlib_xpg4.ll b/llvm/test/Archive/ranlib_xpg4.ll index dc412c22a98c..c907c4e241a4 100644 --- a/llvm/test/Archive/ranlib_xpg4.ll +++ b/llvm/test/Archive/ranlib_xpg4.ll @@ -5,4 +5,5 @@ ;RUN: llvm-ranlib %t.xpg4.a ;RUN: llvm-ar t %t.xpg4.a > %t1 ;RUN: diff %t1 %p/xpg4.toc +;XFAIL: * diff --git a/llvm/test/Assembler/2002-08-19-BytecodeReader.llx b/llvm/test/Assembler/2002-08-19-BytecodeReader.llx index 01301b7ab050..2962ea767123 100644 --- a/llvm/test/Assembler/2002-08-19-BytecodeReader.llx +++ b/llvm/test/Assembler/2002-08-19-BytecodeReader.llx @@ -2,6 +2,7 @@ ; "crafty" spec benchmark. ; ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | llvm-as +;XFAIL: * %CHESS_POSITION = type { uint, int } diff --git a/llvm/test/Assembler/2003-08-21-ConstantExprCast-Fold.llx b/llvm/test/Assembler/2003-08-21-ConstantExprCast-Fold.llx index 37b0363e191f..798e724a8113 100644 --- a/llvm/test/Assembler/2003-08-21-ConstantExprCast-Fold.llx +++ b/llvm/test/Assembler/2003-08-21-ConstantExprCast-Fold.llx @@ -1,4 +1,5 @@ ; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | not grep getelementptr +; XFAIL: * %A = external global { float } ; <{ float }*> [#uses=1] global int* cast (float* getelementptr ({ float }* %A, long 0, ubyte 0) to int*) diff --git a/llvm/test/Assembler/2004-01-11-getelementptrfolding.llx b/llvm/test/Assembler/2004-01-11-getelementptrfolding.llx index 36d983e18b38..5e4ee7aa7b28 100644 --- a/llvm/test/Assembler/2004-01-11-getelementptrfolding.llx +++ b/llvm/test/Assembler/2004-01-11-getelementptrfolding.llx @@ -1,5 +1,6 @@ ; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \ ; RUN: not grep {getelementptr.*getelementptr} +; XFAIL: * %struct.TUVVertex = type { short, short, short, short } %struct.TTriangleItem = type { sbyte*, sbyte*, [3 x %struct.TUVVertex] } diff --git a/llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp b/llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp index 1e5e6acea5a5..b997616c0dcc 100644 --- a/llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp +++ b/llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp @@ -1,4 +1,5 @@ // RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null +// XFAIL: * struct Pass {} ; template diff --git a/llvm/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp b/llvm/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp index 20b9d84298c8..c0c7369d0332 100644 --- a/llvm/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp +++ b/llvm/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp @@ -12,6 +12,7 @@ // RUN: grep xstatnoWeak | grep internal | wc -l | grep 1 // RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \ // RUN: grep xextnoWeak | grep linkonce | wc -l | grep 1 +// XFAIL: * inline int xglobWeak(int) __attribute__((weak)); inline int xglobWeak (int i) { return i*2; diff --git a/llvm/test/CFrontend/2002-11-07-Redefinition.c b/llvm/test/CFrontend/2002-11-07-Redefinition.c index 2be3c8ff1d9f..7f00e58516b7 100644 --- a/llvm/test/CFrontend/2002-11-07-Redefinition.c +++ b/llvm/test/CFrontend/2002-11-07-Redefinition.c @@ -1,4 +1,5 @@ // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null +// XFAIL: * /* Provide Declarations */ diff --git a/llvm/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr b/llvm/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr index 094067293b33..ec1987776fd1 100644 --- a/llvm/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr +++ b/llvm/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr @@ -1,4 +1,5 @@ /* RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep cast + XFAIL: * */ void test(int* array, long long N) { diff --git a/llvm/test/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c b/llvm/test/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c index d5ed837d2be0..96356c553dbb 100644 --- a/llvm/test/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c +++ b/llvm/test/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c @@ -1,4 +1,5 @@ // RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | wc -l | grep 2 +// XFAIL: * unsigned t2(unsigned X) { return __builtin_clz(X); diff --git a/llvm/test/CodeGen/ARM/align.ll b/llvm/test/CodeGen/ARM/align.ll index 457d883a3ca9..8c91b8b5d0e6 100644 --- a/llvm/test/CodeGen/ARM/align.ll +++ b/llvm/test/CodeGen/ARM/align.ll @@ -6,6 +6,7 @@ ; RUN: grep align.*3 | wc | grep 2 ; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin | \ ; RUN: grep align.*2 | wc | grep 4 +; XFAIL: * %a = global bool true %b = global sbyte 1 diff --git a/llvm/test/CodeGen/ARM/hello.ll b/llvm/test/CodeGen/ARM/hello.ll index 4fbcb561422d..4b713baf4393 100644 --- a/llvm/test/CodeGen/ARM/hello.ll +++ b/llvm/test/CodeGen/ARM/hello.ll @@ -2,6 +2,7 @@ ; RUN: llvm-as < %s | llc -mtriple=arm-linux | grep mov | wc -l | grep 1 && ; RUN: llvm-as < %s | llc -mtriple=arm-linux --disable-fp-elim | grep mov | wc -l | grep 2 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep mov | wc -l | grep 2 +; XFAIL: * @str = internal constant [12 x i8] c"Hello World\00" diff --git a/llvm/test/CodeGen/Alpha/cmov.ll b/llvm/test/CodeGen/Alpha/cmov.ll index c5f9f63c342c..8d1c7c5af2f3 100644 --- a/llvm/test/CodeGen/Alpha/cmov.ll +++ b/llvm/test/CodeGen/Alpha/cmov.ll @@ -1,5 +1,6 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | not grep cmovlt ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep cmoveq +; XFAIL: * long %cmov_lt(long %a, long %c) { entry: diff --git a/llvm/test/CodeGen/Alpha/ctlz.ll b/llvm/test/CodeGen/Alpha/ctlz.ll index 0ad014dbf970..e80266fdd5cd 100644 --- a/llvm/test/CodeGen/Alpha/ctlz.ll +++ b/llvm/test/CodeGen/Alpha/ctlz.ll @@ -4,6 +4,7 @@ ; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev6 | not grep -i ctlz ; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev56 | not grep -i ctlz ; RUN: llvm-as < %s | llc -march=alpha -mattr=-CIX | not grep -i ctlz +; XFAIL: * declare i32 @llvm.ctlz.i8(i8) diff --git a/llvm/test/CodeGen/Alpha/ctlz_e.ll b/llvm/test/CodeGen/Alpha/ctlz_e.ll index 7956f5c13dfe..0a2faab5cb3c 100644 --- a/llvm/test/CodeGen/Alpha/ctlz_e.ll +++ b/llvm/test/CodeGen/Alpha/ctlz_e.ll @@ -1,5 +1,6 @@ ; Make sure this testcase does not use ctpop ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | not grep -i ctpop +; XFAIL: * declare ulong %llvm.ctlz(ulong) diff --git a/llvm/test/CodeGen/Alpha/ctpop.ll b/llvm/test/CodeGen/Alpha/ctpop.ll index e68d23708edd..df9524c0bfe1 100644 --- a/llvm/test/CodeGen/Alpha/ctpop.ll +++ b/llvm/test/CodeGen/Alpha/ctpop.ll @@ -8,6 +8,7 @@ ; RUN: not grep -i ctpop ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha -mattr=-CIX | \ ; RUN: not grep -i 'ctpop' +; XFAIL: * declare long %llvm.ctpop(long) diff --git a/llvm/test/CodeGen/CBackend/2004-02-15-PreexistingExternals.llx b/llvm/test/CodeGen/CBackend/2004-02-15-PreexistingExternals.llx index d880876afaaf..743d0177b2d1 100644 --- a/llvm/test/CodeGen/CBackend/2004-02-15-PreexistingExternals.llx +++ b/llvm/test/CodeGen/CBackend/2004-02-15-PreexistingExternals.llx @@ -5,6 +5,7 @@ ; everything up. :( Test that this does not happen anymore. ; ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep _memcpy +; XFAIL: * declare void %llvm.memcpy(sbyte*, sbyte*, uint,uint) declare float* %memcpy(int*, uint,int) diff --git a/llvm/test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll b/llvm/test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll index 6be1a66c18af..e2c665ecfd71 100644 --- a/llvm/test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll +++ b/llvm/test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll @@ -1,4 +1,6 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep -- -65535 +; XFAIL: * + ; ModuleID = '' target endian = little target pointersize = 32 diff --git a/llvm/test/CodeGen/Generic/vector-constantexpr.ll b/llvm/test/CodeGen/Generic/vector-constantexpr.ll index 31b60a4d687e..bf44f317eca1 100644 --- a/llvm/test/CodeGen/Generic/vector-constantexpr.ll +++ b/llvm/test/CodeGen/Generic/vector-constantexpr.ll @@ -1,4 +1,5 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc +; XFAIL: * void ""(float* %inregs, float* %outregs) { %a_addr.i = alloca <4 x float> ; <<4 x float>*> [#uses=1] diff --git a/llvm/test/CodeGen/X86/2004-02-14-InefficientStackPointer.llx b/llvm/test/CodeGen/X86/2004-02-14-InefficientStackPointer.llx index 69e4c1d011f6..005a7dd51f1e 100644 --- a/llvm/test/CodeGen/X86/2004-02-14-InefficientStackPointer.llx +++ b/llvm/test/CodeGen/X86/2004-02-14-InefficientStackPointer.llx @@ -1,4 +1,5 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep ESP | not grep sub +; XFAIL: * int %test(int %X) { ret int %X diff --git a/llvm/test/CodeGen/X86/fp-stack-ret.ll b/llvm/test/CodeGen/X86/fp-stack-ret.ll index 6ed8115945ca..42cdb67cf500 100644 --- a/llvm/test/CodeGen/X86/fp-stack-ret.ll +++ b/llvm/test/CodeGen/X86/fp-stack-ret.ll @@ -1,7 +1,7 @@ -; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -mcpu=yonah -march=x86 > %t && -; RUN: grep fldl %t | wc -l | grep 1 && +; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -mcpu=yonah -march=x86 > %t +; RUN: grep fldl %t | wc -l | grep 1 ; RUN: not grep xmm %t && -; RUN: grep 'sub.*esp' %t | wc -l | grep 1 +; RUN: grep {sub.*esp} %t | wc -l | grep 1 ; These testcases shouldn't require loading into an XMM register then storing ; to memory, then reloading into an FPStack reg. diff --git a/llvm/test/CodeGen/X86/fp_constant_op.llx b/llvm/test/CodeGen/X86/fp_constant_op.llx index 97cb1c0ed139..155673fcd725 100644 --- a/llvm/test/CodeGen/X86/fp_constant_op.llx +++ b/llvm/test/CodeGen/X86/fp_constant_op.llx @@ -1,5 +1,6 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | \ ; RUN: grep ST | not grep {fadd\\|fsub\\|fdiv\\|fmul} +; XFAIL: * ; Test that the load of the constant is folded into the operation. diff --git a/llvm/test/CodeGen/X86/fp_load_fold.llx b/llvm/test/CodeGen/X86/fp_load_fold.llx index 1d8d353e4d65..ce272cea0934 100644 --- a/llvm/test/CodeGen/X86/fp_load_fold.llx +++ b/llvm/test/CodeGen/X86/fp_load_fold.llx @@ -1,5 +1,6 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | \ ; RUN: grep ST | not grep {fadd\\|fsub\\|fdiv\\|fmul} +; XFAIL: * ; Test that the load of the memory location is folded into the operation. diff --git a/llvm/test/CodeGen/X86/sse-fcopysign.ll b/llvm/test/CodeGen/X86/sse-fcopysign.ll index 25d8aa39a743..b82f18d32b34 100644 --- a/llvm/test/CodeGen/X86/sse-fcopysign.ll +++ b/llvm/test/CodeGen/X86/sse-fcopysign.ll @@ -1,4 +1,5 @@ ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep test +; XFAIL: * define float @test1(float %a, float %b) { %tmp = tail call float @copysignf( float %b, float %a ) diff --git a/llvm/test/CodeGen/X86/sse-load-ret.ll b/llvm/test/CodeGen/X86/sse-load-ret.ll index d5f4d19686b1..4777e0f551fb 100644 --- a/llvm/test/CodeGen/X86/sse-load-ret.ll +++ b/llvm/test/CodeGen/X86/sse-load-ret.ll @@ -1,6 +1,8 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah -enable-x86-sse && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah -enable-x86-sse | not grep movss -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah -enable-x86-sse | not grep xmm +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: llc -march=x86 -mcpu=yonah -enable-x86-sse | not grep movss +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: llc -march=x86 -mcpu=yonah -enable-x86-sse | not grep xmm +; XFAIL: * double %test1(double *%P) { %X = load double* %P diff --git a/llvm/test/CodeGen/X86/vec_call.ll b/llvm/test/CodeGen/X86/vec_call.ll index 6875894bfec2..96cd7e47c398 100644 --- a/llvm/test/CodeGen/X86/vec_call.ll +++ b/llvm/test/CodeGen/X86/vec_call.ll @@ -2,6 +2,7 @@ ; RUN: grep {subl.*60} ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \ ; RUN: grep {movdqa.*32} +; XFAIL: * void %test() { tail call void %xx( int 1, int 2, int 3, int 4, int 5, int 6, int 7, <2 x long> cast (<4 x int> < int 4, int 3, int 2, int 1 > to <2 x long>), <2 x long> cast (<4 x int> < int 8, int 7, int 6, int 5 > to <2 x long>), <2 x long> cast (<4 x int> < int 6, int 4, int 2, int 0 > to <2 x long>), <2 x long> cast (<4 x int> < int 8, int 4, int 2, int 1 > to <2 x long>), <2 x long> cast (<4 x int> < int 0, int 1, int 3, int 9 > to <2 x long>) ) diff --git a/llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll b/llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll index e0af3c2c4878..7a2202598482 100644 --- a/llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll +++ b/llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll @@ -2,6 +2,7 @@ ; a global that is dead. Make sure any globals they refer to die as well. ; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | not grep foo +; XFAIL: * %b = internal global int ()* %foo ;; Unused, kills %foo diff --git a/llvm/test/Transforms/GlobalOpt/memset.ll b/llvm/test/Transforms/GlobalOpt/memset.ll index a4f81c317739..8f9884bc27a1 100644 --- a/llvm/test/Transforms/GlobalOpt/memset.ll +++ b/llvm/test/Transforms/GlobalOpt/memset.ll @@ -2,6 +2,7 @@ ; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt | llvm-dis | \ ; RUN: not grep internal +; XFAIL: * %G0 = internal global [58 x sbyte] c"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\00" diff --git a/llvm/test/Transforms/IndVarsSimplify/exit_value_tests.llx b/llvm/test/Transforms/IndVarsSimplify/exit_value_tests.llx index 4e15fc3de753..0cec2335f899 100644 --- a/llvm/test/Transforms/IndVarsSimplify/exit_value_tests.llx +++ b/llvm/test/Transforms/IndVarsSimplify/exit_value_tests.llx @@ -4,6 +4,7 @@ ; ; RUN: llvm-upgrade < %s | llvm-as | opt -indvars -adce -simplifycfg | \ ; RUN: llvm-dis | not grep br +; XFAIL: * int %polynomial_constant() { br label %Loop