[llvm-commits] CVS: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/espresso/cvrmisc.c

Chris Lattner lattner at cs.uiuc.edu
Mon Apr 5 13:37:06 PDT 2004


Changes in directory llvm/test/Programs/MultiSource/Benchmarks/MallocBench/espresso:

cvrmisc.c updated: 1.1 -> 1.2

---
Log message:

Don't print out the primes field, which is causing the diff to fail because
of use of uninitialized memory.  If someone can figure out how to FIX espresso,
we could enable this, but my meager attempts were not enough.


---
Diffs of the changes:  (+4 -4)

Index: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/espresso/cvrmisc.c
diff -u llvm/test/Programs/MultiSource/Benchmarks/MallocBench/espresso/cvrmisc.c:1.1 llvm/test/Programs/MultiSource/Benchmarks/MallocBench/espresso/cvrmisc.c:1.2
--- llvm/test/Programs/MultiSource/Benchmarks/MallocBench/espresso/cvrmisc.c:1.1	Tue Feb 17 12:13:40 2004
+++ llvm/test/Programs/MultiSource/Benchmarks/MallocBench/espresso/cvrmisc.c	Mon Apr  5 13:25:56 2004
@@ -50,12 +50,12 @@
     static char s[200];
 
     if (cube.num_binary_vars == cube.num_vars - 1)
-	(void) sprintf(s, "c=%d(%d) in=%d out=%d tot=%d",
-	    cost->cubes, cost->cubes - cost->primes, cost->in,
+	(void) sprintf(s, "c=%d in=%d out=%d tot=%d",
+	    cost->cubes, cost->in,
 	    cost->out, cost->total);
     else
-	(void) sprintf(s, "c=%d(%d) in=%d mv=%d out=%d",
-	   cost->cubes, cost->cubes - cost->primes, cost->in,
+	(void) sprintf(s, "c=%d in=%d mv=%d out=%d",
+	   cost->cubes, cost->in,
 	   cost->mv, cost->out);
     return s;
 }





More information about the llvm-commits mailing list