[llvm-commits] [llvm] r46451 - /llvm/trunk/test/CFrontend/2008-01-26-ReadOnlyByVal.c
Duncan Sands
baldrick at free.fr
Mon Jan 28 02:35:13 PST 2008
Author: baldrick
Date: Mon Jan 28 04:35:11 2008
New Revision: 46451
URL: http://llvm.org/viewvc/llvm-project?rev=46451&view=rev
Log:
Make this more likely to be passed byval.
Modified:
llvm/trunk/test/CFrontend/2008-01-26-ReadOnlyByVal.c
Modified: 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=46451&r1=46450&r2=46451&view=diff
==============================================================================
--- llvm/trunk/test/CFrontend/2008-01-26-ReadOnlyByVal.c (original)
+++ llvm/trunk/test/CFrontend/2008-01-26-ReadOnlyByVal.c Mon Jan 28 04:35:11 2008
@@ -1,6 +1,6 @@
// RUN: %llvmgcc %s -S -O1 -o - | llvm-as | opt -std-compile-opts | llvm-dis | not grep add
-struct S { int A; int B; int C; int D; };
+struct S { int A; int B; char C[1000]; };
int f(struct S x) __attribute__ ((const));
More information about the llvm-commits
mailing list