[llvm-commits] [test-suite] r110073 - in /test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH: spirit.cpp spirit.reference_output.small

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Aug 2 16:01:35 PDT 2010


Author: stoklund
Date: Mon Aug  2 18:01:35 2010
New Revision: 110073

URL: http://llvm.org/viewvc/llvm-project?rev=110073&view=rev
Log:
Reduce spirit workload for SMALL_PROBLEM_SIZE to avoid timeouts on ARM -O0.

Added:
    test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.reference_output.small
Modified:
    test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc-C%2B%2B-EH/spirit.cpp?rev=110073&r1=110072&r2=110073&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp Mon Aug  2 18:01:35 2010
@@ -14199,7 +14199,11 @@
 main(int argc, char* argv[])
 {
   c_grammar g;
+#ifdef SMALL_PROBLEM_SIZE
+  unsigned long n = 4;
+#else
   unsigned long n = 40;
+#endif
   if (argc > 1)
     n = atol(argv[1]);
   for (unsigned long i=0;i<n;i++)

Added: test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.reference_output.small
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc-C%2B%2B-EH/spirit.reference_output.small?rev=110073&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.reference_output.small (added)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.reference_output.small Mon Aug  2 18:01:35 2010
@@ -0,0 +1,5 @@
+parse OK!
+parse OK!
+parse OK!
+parse OK!
+exit 0





More information about the llvm-commits mailing list