[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bit_select.c

Reid Spencer reid at x10sys.com
Sat May 12 11:42:15 PDT 2007



Changes in directory llvm-test/SingleSource/UnitTests/Integer:

bit_select.c updated: 1.4 -> 1.5
---
Log message:

Simplify test case.


---
Diffs of the changes:  (+1 -6)

 bit_select.c |    7 +------
 1 files changed, 1 insertion(+), 6 deletions(-)


Index: llvm-test/SingleSource/UnitTests/Integer/bit_select.c
diff -u llvm-test/SingleSource/UnitTests/Integer/bit_select.c:1.4 llvm-test/SingleSource/UnitTests/Integer/bit_select.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/bit_select.c:1.4	Tue Apr 17 19:53:49 2007
+++ llvm-test/SingleSource/UnitTests/Integer/bit_select.c	Sat May 12 13:41:57 2007
@@ -32,12 +32,7 @@
 
   BitType i;
 
-  for (i = bitwidthof(BitType); i > 0; --i) {
-    if (bit_select(Y, i-1)) 
-      printf("1");
-    else
-      printf("0");
-  }
+  printBits(Y);
 
   printf("\n");
   return 0;






More information about the llvm-commits mailing list