[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/part_select2.reference_output part_select2.c
Reid Spencer
reid at x10sys.com
Wed May 16 23:25:55 PDT 2007
Changes in directory llvm-test/SingleSource/UnitTests/Integer:
part_select2.reference_output added (r1.1)
part_select2.c updated: 1.2 -> 1.3
---
Log message:
Add the reference output. The bug here was caused by APInt.
---
Diffs of the changes: (+8 -2)
part_select2.c | 4 ++--
part_select2.reference_output | 6 ++++++
2 files changed, 8 insertions(+), 2 deletions(-)
Index: llvm-test/SingleSource/UnitTests/Integer/part_select2.reference_output
diff -c /dev/null llvm-test/SingleSource/UnitTests/Integer/part_select2.reference_output:1.1
*** /dev/null Thu May 17 01:25:47 2007
--- llvm-test/SingleSource/UnitTests/Integer/part_select2.reference_output Thu May 17 01:25:37 2007
***************
*** 0 ****
--- 1,6 ----
+
+ X=11111111111111111111111111111111111111111111111111111111111111111101111001111110110110010101100110111100111111011011001000000000
+ r0 =1011011001000000000
+ r =1011011001000000000
+ r1 =0000000000000000000
+ exit 0
Index: llvm-test/SingleSource/UnitTests/Integer/part_select2.c
diff -u llvm-test/SingleSource/UnitTests/Integer/part_select2.c:1.2 llvm-test/SingleSource/UnitTests/Integer/part_select2.c:1.3
--- llvm-test/SingleSource/UnitTests/Integer/part_select2.c:1.2 Thu May 17 00:25:37 2007
+++ llvm-test/SingleSource/UnitTests/Integer/part_select2.c Thu May 17 01:25:37 2007
@@ -27,9 +27,9 @@
printf("\n r ="); // Wrong!
printBits(r);
- printf("\n r1 ="); // Wrong!
+ printf("\n r1 ="); // Zero
printBits(r1);
printf("\n");
- return 0;
+ return r;
}
More information about the llvm-commits
mailing list