Author: baldrick
Date: Mon Jan 28 23:57:23 2008
New Revision: 46492

URL: http://llvm.org/viewvc/llvm-project?rev=46492&view=rev
Log:
After recent changes we fail to optimize this test
sufficiently to have it pass.  I'm removing it from
the testsuite and adding it to PR452 instead.

Removed:
    llvm/trunk/test/CFrontend/2008-01-26-ReadOnlyByVal.c

Removed: llvm/trunk/test/CFrontend/2008-01-26-ReadOnlyByVal.c
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2008-01-26-ReadOnlyByVal.c?rev=46491&view=auto

==============================================================================
--- llvm/trunk/test/CFrontend/2008-01-26-ReadOnlyByVal.c (original)
+++ llvm/trunk/test/CFrontend/2008-01-26-ReadOnlyByVal.c (removed)
@@ -1,19 +0,0 @@
-// RUN: %llvmgcc %s -S -O1 -o - | llvm-as | opt -std-compile-opts | llvm-dis | 
not grep add
-
-struct S { int A; int B; char C[1000]; };
-
-int f(struct S x) __attribute__ ((const));
-
-static int __attribute__ ((const)) g(struct S x) {
-       x.A = x.B;
-       return f(x);
-}
-
-int h(void) {
-       struct S x;
-       int r;
-       x.A = 0;
-       x.B = 9;
-       r = g(x);
-       return r + x.A;
-}


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to