[llvm-commits] [llvm] r51375 - in /llvm/trunk/test: C++Frontend/ CFrontend/
Gabor Greif
ggreif at gmail.com
Wed May 21 07:48:25 PDT 2008
Author: ggreif
Date: Wed May 21 09:48:24 2008
New Revision: 51375
URL: http://llvm.org/viewvc/llvm-project?rev=51375&view=rev
Log:
resurrect lost tests by renaming them to not end with .tr
Added:
llvm/trunk/test/C++Frontend/2003-08-24-Cleanup.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2003-08-24-Cleanup.cpp.tr
llvm/trunk/test/C++Frontend/2003-08-29-ArgPassingBug.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2003-08-29-ArgPassingBug.cpp.tr
llvm/trunk/test/C++Frontend/2003-10-21-InnerClass.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2003-10-21-InnerClass.cpp.tr
llvm/trunk/test/C++Frontend/2003-11-02-WeakLinkage.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr
llvm/trunk/test/C++Frontend/2003-11-08-ArrayAddress.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2003-11-08-ArrayAddress.cpp.tr
llvm/trunk/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr
llvm/trunk/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr
llvm/trunk/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr
llvm/trunk/test/C++Frontend/2004-03-09-UnmangledBuiltinMethods.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2004-03-09-UnmangledBuiltinMethods.cpp.tr
llvm/trunk/test/C++Frontend/2004-09-27-DidntEmitTemplate.cpp
- copied unchanged from r51372, llvm/trunk/test/C++Frontend/2004-09-27-DidntEmitTemplate.cpp.tr
llvm/trunk/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
llvm/trunk/test/CFrontend/2003-08-06-BuiltinSetjmpLongjmp.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2003-08-06-BuiltinSetjmpLongjmp.c.tr
llvm/trunk/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr
llvm/trunk/test/CFrontend/2003-11-03-AddrArrayElement.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2003-11-03-AddrArrayElement.c.tr
llvm/trunk/test/CFrontend/2003-11-08-PointerSubNotGetelementptr.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2003-11-08-PointerSubNotGetelementptr.c.tr
llvm/trunk/test/CFrontend/2003-11-13-TypeSafety.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2003-11-13-TypeSafety.c.tr
llvm/trunk/test/CFrontend/2003-11-19-AddressOfRegister.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2003-11-19-AddressOfRegister.c.tr
llvm/trunk/test/CFrontend/2003-12-14-ExternInlineSupport.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2003-12-14-ExternInlineSupport.c.tr
llvm/trunk/test/CFrontend/2004-02-12-LargeAggregateCopy.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2004-02-12-LargeAggregateCopy.c.tr
llvm/trunk/test/CFrontend/2004-02-13-BuiltinFrameReturnAddress.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2004-02-13-BuiltinFrameReturnAddress.c.tr
llvm/trunk/test/CFrontend/2004-02-13-IllegalVararg.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2004-02-13-IllegalVararg.c.tr
llvm/trunk/test/CFrontend/2004-02-20-Builtins.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2004-02-20-Builtins.c.tr
llvm/trunk/test/CFrontend/2004-03-07-ExternalConstant.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2004-03-07-ExternalConstant.c.tr
llvm/trunk/test/CFrontend/2004-06-17-UnorderedCompares.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2004-06-17-UnorderedCompares.c.tr
llvm/trunk/test/CFrontend/2005-01-02-PointerDifference.c
- copied unchanged from r51372, llvm/trunk/test/CFrontend/2005-01-02-PointerDifference.c.tr
Removed:
llvm/trunk/test/C++Frontend/2003-08-24-Cleanup.cpp.tr
llvm/trunk/test/C++Frontend/2003-08-29-ArgPassingBug.cpp.tr
llvm/trunk/test/C++Frontend/2003-10-21-InnerClass.cpp.tr
llvm/trunk/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr
llvm/trunk/test/C++Frontend/2003-11-08-ArrayAddress.cpp.tr
llvm/trunk/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr
llvm/trunk/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr
llvm/trunk/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr
llvm/trunk/test/C++Frontend/2004-03-09-UnmangledBuiltinMethods.cpp.tr
llvm/trunk/test/C++Frontend/2004-09-27-DidntEmitTemplate.cpp.tr
llvm/trunk/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
llvm/trunk/test/CFrontend/2003-08-06-BuiltinSetjmpLongjmp.c.tr
llvm/trunk/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr
llvm/trunk/test/CFrontend/2003-11-03-AddrArrayElement.c.tr
llvm/trunk/test/CFrontend/2003-11-08-PointerSubNotGetelementptr.c.tr
llvm/trunk/test/CFrontend/2003-11-13-TypeSafety.c.tr
llvm/trunk/test/CFrontend/2003-11-19-AddressOfRegister.c.tr
llvm/trunk/test/CFrontend/2003-12-14-ExternInlineSupport.c.tr
llvm/trunk/test/CFrontend/2004-02-12-LargeAggregateCopy.c.tr
llvm/trunk/test/CFrontend/2004-02-13-BuiltinFrameReturnAddress.c.tr
llvm/trunk/test/CFrontend/2004-02-13-IllegalVararg.c.tr
llvm/trunk/test/CFrontend/2004-02-20-Builtins.c.tr
llvm/trunk/test/CFrontend/2004-03-07-ExternalConstant.c.tr
llvm/trunk/test/CFrontend/2004-06-17-UnorderedCompares.c.tr
llvm/trunk/test/CFrontend/2005-01-02-PointerDifference.c.tr
Removed: llvm/trunk/test/C++Frontend/2003-08-24-Cleanup.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2003-08-24-Cleanup.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2003-08-24-Cleanup.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2003-08-24-Cleanup.cpp.tr (removed)
@@ -1,10 +0,0 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep unwind
-
-struct S { ~S(); };
-
-int mightthrow();
-
-int test() {
- S s;
- mightthrow();
-}
Removed: llvm/trunk/test/C++Frontend/2003-08-29-ArgPassingBug.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2003-08-29-ArgPassingBug.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2003-08-29-ArgPassingBug.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2003-08-29-ArgPassingBug.cpp.tr (removed)
@@ -1,13 +0,0 @@
-
-// RUN: %llvmgcc -xc++ -c -o /dev/null %s |& not grep WARNING
-
-struct iterator {
- iterator();
- iterator(const iterator &I);
-};
-
-iterator foo(const iterator &I) { return I; }
-
-void test() {
- foo(iterator());
-}
Removed: llvm/trunk/test/C++Frontend/2003-10-21-InnerClass.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2003-10-21-InnerClass.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2003-10-21-InnerClass.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2003-10-21-InnerClass.cpp.tr (removed)
@@ -1,12 +0,0 @@
-// RUN: %llvmgcc -xc++ -S -o - %s | grep {struct.X::Y}
-struct X {
-
- struct Y {
- Y();
- };
-
-};
-
-X::Y::Y() {
-
-}
Removed: llvm/trunk/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2003-11-02-WeakLinkage.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr (removed)
@@ -1,13 +0,0 @@
-// RUN: %llvmgcc -xc++ -S -o - %s | not grep weak
-// The template should compile to linkonce linkage, not weak linkage.
-
-template<class T>
-void thefunc();
-
-template<class T>
-inline void thefunc() {}
-
-void test() {
- thefunc<int>();
-}
-
Removed: llvm/trunk/test/C++Frontend/2003-11-08-ArrayAddress.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2003-11-08-ArrayAddress.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2003-11-08-ArrayAddress.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2003-11-08-ArrayAddress.cpp.tr (removed)
@@ -1,10 +0,0 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep getelementptr
-
-struct foo {
- int array[100];
- void *getAddr(unsigned i);
-};
-
-void *foo::getAddr(unsigned i) {
- return &array[i];
-}
Removed: llvm/trunk/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2003-11-09-ConstructorTypeSafety.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr (removed)
@@ -1,21 +0,0 @@
-// The code generated for this testcase should be completely typesafe!
-// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | \
-// RUN: notcast
-
-struct contained {
- unsigned X;
- contained();
-};
-
-struct base {
- unsigned A, B;
-};
-
-struct derived : public base {
- contained _M_value_field;
-};
-
-int test() {
- derived X;
-}
-
Removed: llvm/trunk/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2003-11-18-MemberInitializationCasting.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr (removed)
@@ -1,13 +0,0 @@
-// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | notcast
-
-struct A {
- A() : i(0) {}
- int getI() {return i;}
- int i;
-};
-
-int f(int j)
-{
- A a;
- return j+a.getI();
-}
Removed: llvm/trunk/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2004-01-11-DynamicInitializedConstant.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr (removed)
@@ -1,6 +0,0 @@
-// RUN: %llvmgcc -xc++ -S -o - %s | not grep { constant }
-
-extern int X;
-const int Y = X;
-const int* foo() { return &Y; }
-
Removed: llvm/trunk/test/C++Frontend/2004-03-09-UnmangledBuiltinMethods.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2004-03-09-UnmangledBuiltinMethods.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2004-03-09-UnmangledBuiltinMethods.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2004-03-09-UnmangledBuiltinMethods.cpp.tr (removed)
@@ -1,8 +0,0 @@
-// RUN: %llvmgcc -xc++ -c -o - %s | llvm-dis | grep _ZN11AccessFlags6strlenEv
-
-struct AccessFlags {
- void strlen();
-};
-
-void AccessFlags::strlen() { }
-
Removed: llvm/trunk/test/C++Frontend/2004-09-27-DidntEmitTemplate.cpp.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2004-09-27-DidntEmitTemplate.cpp.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/C++Frontend/2004-09-27-DidntEmitTemplate.cpp.tr (original)
+++ llvm/trunk/test/C++Frontend/2004-09-27-DidntEmitTemplate.cpp.tr (removed)
@@ -1,23 +0,0 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep callDefaultCtor | \
-// RUN: not grep declare
-
-// This is a testcase for LLVM PR445, which was a problem where the
-// instantiation of callDefaultCtor was not being emitted correctly.
-
-struct Pass {};
-
-template<typename PassName>
-Pass *callDefaultCtor() { return new Pass(); }
-
-void foo(Pass *(*C)());
-
-struct basic_string {
- bool empty() const { return true; }
-};
-
-
-bool foo2(basic_string &X) {
- return X.empty();
-}
-void baz() { foo(callDefaultCtor<Pass>); }
-
Removed: llvm/trunk/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr (original)
+++ llvm/trunk/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr (removed)
@@ -1,7 +0,0 @@
-/* RUN: %llvmgcc -xc %s -S -o - | grep -v alloca | not grep bitcast
- */
-
-void test(int* array, long long N) {
- array[N] = N[array] = 33;
-}
-
Removed: llvm/trunk/test/CFrontend/2003-08-06-BuiltinSetjmpLongjmp.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2003-08-06-BuiltinSetjmpLongjmp.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2003-08-06-BuiltinSetjmpLongjmp.c.tr (original)
+++ llvm/trunk/test/CFrontend/2003-08-06-BuiltinSetjmpLongjmp.c.tr (removed)
@@ -1,14 +0,0 @@
-/* RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep __builtin_
- *
- * __builtin_longjmp/setjmp should get transformed into llvm.setjmp/longjmp
- * just like explicit setjmp/longjmp calls are.
- */
-
-void jumpaway(int *ptr) {
- __builtin_longjmp(ptr,1);
-}
-
-int main(void) {
- __builtin_setjmp(0);
- jumpaway(0);
-}
Removed: llvm/trunk/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr (original)
+++ llvm/trunk/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr (removed)
@@ -1,7 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o %t.o
-
-int test(_Bool pos, _Bool color) {
- return 0;
- return (pos && color);
-}
-
Removed: llvm/trunk/test/CFrontend/2003-11-03-AddrArrayElement.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2003-11-03-AddrArrayElement.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2003-11-03-AddrArrayElement.c.tr (original)
+++ llvm/trunk/test/CFrontend/2003-11-03-AddrArrayElement.c.tr (removed)
@@ -1,11 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep getelementptr
-
-// This should be turned into a tasty getelementptr instruction, not a nasty
-// series of casts and address arithmetic.
-
-char Global[100];
-
-char *test1(unsigned i) {
- return &Global[i];
-}
-
Removed: llvm/trunk/test/CFrontend/2003-11-08-PointerSubNotGetelementptr.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2003-11-08-PointerSubNotGetelementptr.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2003-11-08-PointerSubNotGetelementptr.c.tr (original)
+++ llvm/trunk/test/CFrontend/2003-11-08-PointerSubNotGetelementptr.c.tr (removed)
@@ -1,9 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep getelementptr
-
-char *test(char* C) {
- return C-1; // Should turn into a GEP
-}
-
-int *test2(int* I) {
- return I-1;
-}
Removed: llvm/trunk/test/CFrontend/2003-11-13-TypeSafety.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2003-11-13-TypeSafety.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2003-11-13-TypeSafety.c.tr (original)
+++ llvm/trunk/test/CFrontend/2003-11-13-TypeSafety.c.tr (removed)
@@ -1,5 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep getelementptr
-
-int *test(int *X, int Y) {
- return X + Y;
-}
Removed: llvm/trunk/test/CFrontend/2003-11-19-AddressOfRegister.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2003-11-19-AddressOfRegister.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2003-11-19-AddressOfRegister.c.tr (original)
+++ llvm/trunk/test/CFrontend/2003-11-19-AddressOfRegister.c.tr (removed)
@@ -1,12 +0,0 @@
-// RUN: %llvmgcc -xc %s -S -o /dev/null |& not grep warning
-
-struct item {
- short delta[4];
-};
-
-int TEST(int nt) {
- register struct item *aa;
- aa[nt].delta;
- return 1;
-}
-
Removed: llvm/trunk/test/CFrontend/2003-12-14-ExternInlineSupport.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2003-12-14-ExternInlineSupport.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2003-12-14-ExternInlineSupport.c.tr (original)
+++ llvm/trunk/test/CFrontend/2003-12-14-ExternInlineSupport.c.tr (removed)
@@ -1,3 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep dead_function
-
-extern __inline__ void dead_function() {}
Removed: llvm/trunk/test/CFrontend/2004-02-12-LargeAggregateCopy.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2004-02-12-LargeAggregateCopy.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2004-02-12-LargeAggregateCopy.c.tr (original)
+++ llvm/trunk/test/CFrontend/2004-02-12-LargeAggregateCopy.c.tr (removed)
@@ -1,8 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memcpy
-
-struct X { int V[10000]; };
-struct X Global1, Global2;
-void test() {
- Global2 = Global1;
-}
-
Removed: llvm/trunk/test/CFrontend/2004-02-13-BuiltinFrameReturnAddress.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2004-02-13-BuiltinFrameReturnAddress.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2004-02-13-BuiltinFrameReturnAddress.c.tr (original)
+++ llvm/trunk/test/CFrontend/2004-02-13-BuiltinFrameReturnAddress.c.tr (removed)
@@ -1,8 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.*address | count 4
-
-void *test1() {
- return __builtin_return_address(1);
-}
-void *test2() {
- return __builtin_frame_address(0);
-}
Removed: llvm/trunk/test/CFrontend/2004-02-13-IllegalVararg.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2004-02-13-IllegalVararg.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2004-02-13-IllegalVararg.c.tr (original)
+++ llvm/trunk/test/CFrontend/2004-02-13-IllegalVararg.c.tr (removed)
@@ -1,11 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o - | llc
-
-#include <stdarg.h>
-
-float test(int X, ...) {
- va_list ap;
- float F;
- va_start(ap, X);
- F = va_arg(ap, float);
- return F;
-}
Removed: llvm/trunk/test/CFrontend/2004-02-20-Builtins.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2004-02-20-Builtins.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2004-02-20-Builtins.c.tr (original)
+++ llvm/trunk/test/CFrontend/2004-02-20-Builtins.c.tr (removed)
@@ -1,6 +0,0 @@
-// RUN: %llvmgcc -O3 -xc %s -c -o - | llvm-dis | not grep builtin
-
-void zsqrtxxx(float num) {
- num = sqrt(num);
-}
-
Removed: llvm/trunk/test/CFrontend/2004-03-07-ExternalConstant.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2004-03-07-ExternalConstant.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2004-03-07-ExternalConstant.c.tr (original)
+++ llvm/trunk/test/CFrontend/2004-03-07-ExternalConstant.c.tr (removed)
@@ -1,7 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep constant
-
-extern const int a[]; // 'a' should be marked constant even though it's external!
-int foo () {
- return a[0];
-}
-
Removed: llvm/trunk/test/CFrontend/2004-06-17-UnorderedCompares.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2004-06-17-UnorderedCompares.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2004-06-17-UnorderedCompares.c.tr (original)
+++ llvm/trunk/test/CFrontend/2004-06-17-UnorderedCompares.c.tr (removed)
@@ -1,21 +0,0 @@
-// RUN: %llvmgcc -xc -std=c99 %s -c -o - | llvm-dis | grep -v llvm.isunordered | not grep call
-
-#include <math.h>
-
-_Bool A, B, C, D, E, F;
-void TestF(float X, float Y) {
- A = __builtin_isgreater(X, Y);
- B = __builtin_isgreaterequal(X, Y);
- C = __builtin_isless(X, Y);
- D = __builtin_islessequal(X, Y);
- E = __builtin_islessgreater(X, Y);
- F = __builtin_isunordered(X, Y);
-}
-void TestD(double X, double Y) {
- A = __builtin_isgreater(X, Y);
- B = __builtin_isgreaterequal(X, Y);
- C = __builtin_isless(X, Y);
- D = __builtin_islessequal(X, Y);
- E = __builtin_islessgreater(X, Y);
- F = __builtin_isunordered(X, Y);
-}
Removed: llvm/trunk/test/CFrontend/2005-01-02-PointerDifference.c.tr
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2005-01-02-PointerDifference.c.tr?rev=51374&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2005-01-02-PointerDifference.c.tr (original)
+++ llvm/trunk/test/CFrontend/2005-01-02-PointerDifference.c.tr (removed)
@@ -1,3 +0,0 @@
-// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep -v div
-
-int Diff(int *P, int *Q) { return P-Q; }
More information about the llvm-commits
mailing list