Changes in directory llvm/test/Regression/CFrontend:
2005-12-04-DeclarationLineNumbers.c updated: 1.4 -> 1.5 2006-01-16-BitCountIntrinsicsUnsigned.c updated: 1.1 -> 1.2 2006-03-03-MissingInitializer.c updated: 1.1 -> 1.2 --- Log message: For PR950: http://llvm.org/PR950 : Update the test suite to accommodate the change from signed integer types to signless integer types. The changes were of only a few kinds: 1. Make sure llvm-upgrade is run on the source which does the bulk of the changes automatically. 2. Change things like "grep 'int'" to "grep 'i32'" 3. In several tests bitcasting caused the same name to be reused in the same type plane. These had to be manually fixed. The fix was (generally) to leave the bitcast and provide the instruction with a new name. This should not affect the semantics of the test. In a few cases, the bitcasts were known to be superfluous and irrelevant to the test case so they were removed. 4. One test case uses a bytecode file which needed to be updated to the latest bytecode format. --- Diffs of the changes: (+4 -4) 2005-12-04-DeclarationLineNumbers.c | 2 +- 2006-01-16-BitCountIntrinsicsUnsigned.c | 4 ++-- 2006-03-03-MissingInitializer.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c diff -u llvm/test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c:1.4 llvm/test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c:1.5 --- llvm/test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c:1.4 Fri Jun 16 11:50:24 2006 +++ llvm/test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c Sun Dec 31 00:01:59 2006 @@ -1,4 +1,4 @@ -// RUN: %llvmgcc %s -S -g -o - | grep 'llvm.dbg.stoppoint.*uint 14' +// RUN: %llvmgcc %s -S -g -o - | grep 'llvm.dbg.stoppoint.*i32 14' // PR664: ensure that line #'s are emitted for declarations Index: llvm/test/Regression/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c diff -u llvm/test/Regression/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c:1.1 llvm/test/Regression/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c:1.2 --- llvm/test/Regression/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c:1.1 Tue Jan 17 00:24:01 2006 +++ llvm/test/Regression/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c Sun Dec 31 00:01:59 2006 @@ -1,5 +1,5 @@ -// RUN: %llvmgcc -S %s -o - | grep 'llvm.ctlz.i32(uint' && -// RUN: %llvmgcc -S %s -o - | not grep 'llvm.ctlz.i32(int' +// RUN: %llvmgcc -S %s -o - | grep 'llvm.ctlz.i32(i32' +// RUNMEIFWEHADSIGNEDTYPES: %llvmgcc -S %s -o - | not grep 'llvm.ctlz.i32(i32' unsigned t2(unsigned X) { return __builtin_clz(X); Index: llvm/test/Regression/CFrontend/2006-03-03-MissingInitializer.c diff -u llvm/test/Regression/CFrontend/2006-03-03-MissingInitializer.c:1.1 llvm/test/Regression/CFrontend/2006-03-03-MissingInitializer.c:1.2 --- llvm/test/Regression/CFrontend/2006-03-03-MissingInitializer.c:1.1 Fri Mar 3 18:47:12 2006 +++ llvm/test/Regression/CFrontend/2006-03-03-MissingInitializer.c Sun Dec 31 00:01:59 2006 @@ -1,4 +1,4 @@ -// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep nate | grep 'global int 0' +// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep nate | grep 'global i32 0' struct X { int *XX; int Y;}; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits