[llvm-commits] [test-suite] r102480 - /test-suite/trunk/SingleSource/UnitTests/Vector/multiplies.c
Chris Lattner
sabre at nondot.org
Tue Apr 27 18:01:17 PDT 2010
Author: lattner
Date: Tue Apr 27 20:01:17 2010
New Revision: 102480
URL: http://llvm.org/viewvc/llvm-project?rev=102480&view=rev
Log:
"TheArray" is accessed with SSE operations, it must be 16-byte aligned.
Fixes rdar://7914560, where clang just started failing on it.
Modified:
test-suite/trunk/SingleSource/UnitTests/Vector/multiplies.c
Modified: test-suite/trunk/SingleSource/UnitTests/Vector/multiplies.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vector/multiplies.c?rev=102480&r1=102479&r2=102480&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Vector/multiplies.c (original)
+++ test-suite/trunk/SingleSource/UnitTests/Vector/multiplies.c Tue Apr 27 20:01:17 2010
@@ -1,7 +1,7 @@
#include "helpers.h"
#define ARRAYSIZE 100000
-double TheArray[ARRAYSIZE];
+double TheArray[ARRAYSIZE] __attribute__((aligned));
#define ProcessArray(VECTY) { \
VECTY V = (VECTY)((v4i32){0,0,0,0}); \
More information about the llvm-commits
mailing list