[llvm-commits] [test-suite] r91605 - /test-suite/trunk/SingleSource/Benchmarks/CoyoteBench/almabench.c

Chris Lattner sabre at nondot.org
Thu Dec 17 10:17:58 PST 2009


Author: lattner
Date: Thu Dec 17 12:17:58 2009
New Revision: 91605

URL: http://llvm.org/viewvc/llvm-project?rev=91605&view=rev
Log:
change this benchmark to actually produce some output,
preventing the compiler from DCE'ing major parts of it.

This will cause a big spike in the execution time of the test.

Modified:
    test-suite/trunk/SingleSource/Benchmarks/CoyoteBench/almabench.c

Modified: test-suite/trunk/SingleSource/Benchmarks/CoyoteBench/almabench.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/CoyoteBench/almabench.c?rev=91605&r1=91604&r2=91605&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/CoyoteBench/almabench.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/CoyoteBench/almabench.c Thu Dec 17 12:17:58 2009
@@ -372,6 +372,8 @@
             {
                 planetpv(jd,p,pv);
                 radecdist(pv,position);
+              
+                printf("%f %f %f\n", position[0], position[1], position[2]);
             }
         }
     }





More information about the llvm-commits mailing list