Expand some arrays and initialize values to avoid wild loads and stores.
llvm-svn: 55481
diff --git a/llvm-gcc-4.2/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c b/llvm-gcc-4.2/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c
index f67707f..f5d722e 100644
--- a/llvm-gcc-4.2/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c
+++ b/llvm-gcc-4.2/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c
@@ -36,7 +36,13 @@
int main ()
{
- float a[4], b[4], c[4], d[4], e[4];
+ float a[4], b[4], c[6], d[4], e[5];
+ int i;
+ for (i=0; i<4; i++)
+ a[i] = b[i] = c[i] = d[i] = e[i] = i;
+ c[4] = 4;
+ c[5] = 5;
+ e[4] = 4;
signal (SIGILL, sig_ill_handler);
foo (2, 2, a, b, c, d, e);
return 0;