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

Reid Spencer reid at x10sys.com
Sat Feb 10 06:40:23 PST 2007



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

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

Add some comments to clarify things.


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

 sign.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm-test/SingleSource/UnitTests/Integer/sign.c
diff -u llvm-test/SingleSource/UnitTests/Integer/sign.c:1.1 llvm-test/SingleSource/UnitTests/Integer/sign.c:1.2
--- llvm-test/SingleSource/UnitTests/Integer/sign.c:1.1	Fri Jan 26 17:34:47 2007
+++ llvm-test/SingleSource/UnitTests/Integer/sign.c	Sat Feb 10 08:40:07 2007
@@ -35,8 +35,8 @@
   
   num = num - 0xdf5e75; //0x1000001
 
-  x = num;
-  ux = num;
+  x = num; // = 1
+  ux = num; // = 1
   printf("x = %d, ux = %u, y=%d, uy = %u\n", x, ux, y, uy);
     
   z = x * y;  // 0x1000001 * (-1)






More information about the llvm-commits mailing list