[llvm-commits] [test-suite] r168940 - /test-suite/trunk/SingleSource/UnitTests/Vectorizer/gcc-loops.cpp
Daniel Dunbar
daniel at zuster.org
Thu Nov 29 13:15:59 PST 2012
Author: ddunbar
Date: Thu Nov 29 15:15:59 2012
New Revision: 168940
URL: http://llvm.org/viewvc/llvm-project?rev=168940&view=rev
Log:
tests/gcc-loops: Slightly lower iteration count and add --small suport.
- This brings the execution time more in line with the average other test.
Modified:
test-suite/trunk/SingleSource/UnitTests/Vectorizer/gcc-loops.cpp
Modified: test-suite/trunk/SingleSource/UnitTests/Vectorizer/gcc-loops.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vectorizer/gcc-loops.cpp?rev=168940&r1=168939&r2=168940&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Vectorizer/gcc-loops.cpp (original)
+++ test-suite/trunk/SingleSource/UnitTests/Vectorizer/gcc-loops.cpp Thu Nov 29 15:15:59 2012
@@ -341,7 +341,11 @@
std::vector<unsigned> results;
unsigned dummy = 0;
- const int Mi = 1<<20;
+#ifdef SMALL_PROBLEM_SIZE
+ const int Mi = 1<<10;
+#else
+ const int Mi = 1<<18;
+#endif
init_memory(&ia[0], &ia[N]);
init_memory(&ib[0], &ib[N]);
init_memory(&ic[0], &ic[N]);
More information about the llvm-commits
mailing list