[llvm-commits] CVS: llvm/test/Regression/Analysis/LoadVN/casts.ll

Reid Spencer reid at x10sys.com
Sat Dec 30 22:03:29 PST 2006



Changes in directory llvm/test/Regression/Analysis/LoadVN:

casts.ll updated: 1.2 -> 1.3
---
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:  (+1 -1)

 casts.ll |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/test/Regression/Analysis/LoadVN/casts.ll
diff -u llvm/test/Regression/Analysis/LoadVN/casts.ll:1.2 llvm/test/Regression/Analysis/LoadVN/casts.ll:1.3
--- llvm/test/Regression/Analysis/LoadVN/casts.ll:1.2	Fri Dec 29 14:01:32 2006
+++ llvm/test/Regression/Analysis/LoadVN/casts.ll	Sun Dec 31 00:01:59 2006
@@ -1,7 +1,7 @@
 ; Check to make sure that Value Numbering doesn't merge casts of different
 ; flavors.
 ; RUN: llvm-upgrade < %s | llvm-as | opt -load-vn -gcse | llvm-dis | \
-; RUN: grep '[sz]ext' | wc -l | grep 2
+; RUN:   grep '[sz]ext' | wc -l | grep 2
 
 declare void %external(int)
 






More information about the llvm-commits mailing list