Changes in directory llvm-test/SingleSource/UnitTests/Integer:
multiple_assign.c updated: 1.2 -> 1.3 multiple_assign.reference_output updated: 1.1 -> 1.2 --- Log message: Enhance this test case. --- Diffs of the changes: (+60 -3) multiple_assign.c | 47 +++++++++++++++++++++++++++++++++++++-- multiple_assign.reference_output | 16 ++++++++++++- 2 files changed, 60 insertions(+), 3 deletions(-) Index: llvm-test/SingleSource/UnitTests/Integer/multiple_assign.c diff -u llvm-test/SingleSource/UnitTests/Integer/multiple_assign.c:1.2 llvm-test/SingleSource/UnitTests/Integer/multiple_assign.c:1.3 --- llvm-test/SingleSource/UnitTests/Integer/multiple_assign.c:1.2 Thu May 17 00:15:12 2007 +++ llvm-test/SingleSource/UnitTests/Integer/multiple_assign.c Sun May 27 21:29:57 2007 @@ -1,8 +1,51 @@ #include "bits.h" int main(int argc, char**argv) { - int69 X; + int54 X; int169 Y; - X = Y = 0; + uint250 Z = 0; + int250 K; + uint250 U = 0; + + X = Y = Z = K = -1; + U = -1; + printf("int54 X = "); + printBits(X); + printf("\nint169 Y = "); + printBits(Y); + printf("\nuint250 Z = "); + printBits(Z); + printf("\nuint250 U = "); + printBits(U); + printf("\nint250 K = "); + printBits(K); + printf("\n"); + + K = Y = Z = X = -1; + printf("int54 X = "); + printBits(X); + printf("\nint169 Y = "); + printBits(Y); + printf("\nuint250 Z = "); + printBits(Z); + printf("\nuint250 U = "); + printBits(U); + printf("\nint250 K = "); + printBits(K); + printf("\n"); + + X = Y = Z = K = U = -1; + printf("int54 X = "); + printBits(X); + printf("\nint169 Y = "); + printBits(Y); + printf("\nuint250 Z = "); + printBits(Z); + printf("\nuint250 U = "); + printBits(U); + printf("\nint250 K = "); + printBits(K); + printf("\n"); + return X; } Index: llvm-test/SingleSource/UnitTests/Integer/multiple_assign.reference_output diff -u llvm-test/SingleSource/UnitTests/Integer/multiple_assign.reference_output:1.1 llvm-test/SingleSource/UnitTests/Integer/multiple_assign.reference_output:1.2 --- llvm-test/SingleSource/UnitTests/Integer/multiple_assign.reference_output:1.1 Thu May 17 01:47:06 2007 +++ llvm-test/SingleSource/UnitTests/Integer/multiple_assign.reference_output Sun May 27 21:29:57 2007 @@ -1 +1,15 @@ -exit 0 +int54 X = 111111111111111111111111111111111111111111111111111111 +int169 Y = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +uint250 Z = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +uint250 U = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +int250 K = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +int54 X = 111111111111111111111111111111111111111111111111111111 +int169 Y = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +uint250 Z = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +uint250 U = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +int250 K = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +int54 X = 111111111111111111111111111111111111111111111111111111 +int169 Y = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +uint250 Z = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +uint250 U = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +int250 K = 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits