diff options
| author | Duncan Sands <baldrick@free.fr> | 2008-01-29 05:57:23 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2008-01-29 05:57:23 +0000 |
| commit | aaaeee2ac0fd7fa81b350529d9b611f366433cf6 (patch) | |
| tree | ceb61175d29bd7ff00e31acc164c18549579586d | |
| parent | 75bc4cd62005113f8ae00ec55d48623421755ebb (diff) | |
| download | bcm5719-llvm-aaaeee2ac0fd7fa81b350529d9b611f366433cf6.tar.gz bcm5719-llvm-aaaeee2ac0fd7fa81b350529d9b611f366433cf6.zip | |
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.
llvm-svn: 46492
| -rw-r--r-- | llvm/test/CFrontend/2008-01-26-ReadOnlyByVal.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/test/CFrontend/2008-01-26-ReadOnlyByVal.c b/llvm/test/CFrontend/2008-01-26-ReadOnlyByVal.c deleted file mode 100644 index 8e9f6a23a8a..00000000000 --- a/llvm/test/CFrontend/2008-01-26-ReadOnlyByVal.c +++ /dev/null @@ -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; -} |

