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

Reid Spencer reid at x10sys.com
Thu May 17 14:32:56 PDT 2007



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

big_part_set.c updated: 1.1 -> 1.2
---
Log message:

Change this code to match the reference output.


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

 big_part_set.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-test/SingleSource/UnitTests/Integer/big_part_set.c
diff -u llvm-test/SingleSource/UnitTests/Integer/big_part_set.c:1.1 llvm-test/SingleSource/UnitTests/Integer/big_part_set.c:1.2
--- llvm-test/SingleSource/UnitTests/Integer/big_part_set.c:1.1	Thu May 17 13:04:41 2007
+++ llvm-test/SingleSource/UnitTests/Integer/big_part_set.c	Thu May 17 16:32:37 2007
@@ -23,7 +23,7 @@
   printBits(X);
   printf("\n");
   for (i = bitwidthof(BitType); i > 0; --i) {
-    X = part_set(X, 1, i-1, bitwidthof(BitType)-1);
+    X = part_set(X, 1, i-1, i-1);
     printf("0b0");
     printBits(X);
     printf("\n");






More information about the llvm-commits mailing list