[llvm-commits] [llvm] r63592 - in /llvm/trunk/test/FrontendC: 2009-01-25-NoSSE.c x86-64-red-zone.c

Dan Gohman gohman at apple.com
Mon Feb 2 17:33:27 PST 2009


Author: djg
Date: Mon Feb  2 19:33:26 2009
New Revision: 63592

URL: http://llvm.org/viewvc/llvm-project?rev=63592&view=rev
Log:
Delete these two tests. They are specific to x86-64, and there's no
reliable way to do this with the current dejagnu infrastructure.
If someone can figure out how to fix these tests so that they test
what they are intended to test without spuriously failing on any
popular platforms, they are invited to reinstate them.

Removed:
    llvm/trunk/test/FrontendC/2009-01-25-NoSSE.c
    llvm/trunk/test/FrontendC/x86-64-red-zone.c

Removed: llvm/trunk/test/FrontendC/2009-01-25-NoSSE.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2009-01-25-NoSSE.c?rev=63591&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC/2009-01-25-NoSSE.c (original)
+++ llvm/trunk/test/FrontendC/2009-01-25-NoSSE.c (removed)
@@ -1,31 +0,0 @@
-// RUN: $llvmgcc -m64 -O1 -march=core2 -mno-sse %s -S -o - | not grep xmm
-// PR3402
-// This is a test for x86/x86-64, add your target below if it FAILs.
-// FIXME: Revert "linux" when fixed.
-// XFAIL: alpha|ia64|arm|powerpc|sparc|linux
-typedef unsigned long __kernel_size_t;
-typedef __kernel_size_t size_t;
-void *memset(void *s, int c, size_t n);
-
-typedef unsigned char cc_t;
-typedef unsigned int speed_t;
-typedef unsigned int tcflag_t;
-
-struct ktermios {
- tcflag_t c_iflag;
- tcflag_t c_oflag;
- tcflag_t c_cflag;
- tcflag_t c_lflag;
- cc_t c_line;
- cc_t c_cc[19];
- speed_t c_ispeed;
- speed_t c_ospeed;
-};
-void bar(struct ktermios*);
-void foo()
-{
-    struct ktermios termios;
-    memset(&termios, 0, sizeof(termios));
-    bar(&termios);
-}
-

Removed: llvm/trunk/test/FrontendC/x86-64-red-zone.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/x86-64-red-zone.c?rev=63591&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC/x86-64-red-zone.c (original)
+++ llvm/trunk/test/FrontendC/x86-64-red-zone.c (removed)
@@ -1,11 +0,0 @@
-// RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - > %t
-// RUN: not grep subq %t
-// RUN: not grep addq %t
-// RUN: grep {\\-4(%%rsp)} %t | count 2
-// RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - -mno-red-zone > %t
-// RUN: grep subq %t | count 1
-// RUN: grep addq %t | count 1
-// This is a test for x86-64, add your target below if it FAILs.
-// XFAIL: alpha|ia64|arm|powerpc|sparc|i.86
-
-long double f0(float f) { return f; }





More information about the llvm-commits mailing list