[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/sub.ll zeroext-and-reduce.ll

Reid Spencer reid at x10sys.com
Mon Jan 1 21:55:30 PST 2007



Changes in directory llvm/test/Regression/Transforms/InstCombine:

sub.ll updated: 1.24 -> 1.25
zeroext-and-reduce.ll updated: 1.3 -> 1.4
---
Log message:

For PR1070: http://llvm.org/PR1070 :
Tweak the RUN: lines of these tests to accommodate the renaming of 
variables done by llvm-upgrade. The renaming occurs as a result of avoiding
name collisons for collapsed type planes. Conflicting names have a .u
(unsigned) or .s (signed) suffix added. This patch updates the grep
expression to accommodate the new names.


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

 sub.ll                |    3 ++-
 zeroext-and-reduce.ll |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/Transforms/InstCombine/sub.ll
diff -u llvm/test/Regression/Transforms/InstCombine/sub.ll:1.24 llvm/test/Regression/Transforms/InstCombine/sub.ll:1.25
--- llvm/test/Regression/Transforms/InstCombine/sub.ll:1.24	Sun Dec 31 00:01:59 2006
+++ llvm/test/Regression/Transforms/InstCombine/sub.ll	Mon Jan  1 23:55:05 2007
@@ -1,7 +1,8 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep -v 'sub i32 %Cok, %Bok' | not grep sub
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
+; RUN:   grep -v 'sub i32 %Cok.s, %Bok.s' | not grep sub
 
 implementation
 


Index: llvm/test/Regression/Transforms/InstCombine/zeroext-and-reduce.ll
diff -u llvm/test/Regression/Transforms/InstCombine/zeroext-and-reduce.ll:1.3 llvm/test/Regression/Transforms/InstCombine/zeroext-and-reduce.ll:1.4
--- llvm/test/Regression/Transforms/InstCombine/zeroext-and-reduce.ll:1.3	Sun Dec 31 00:01:59 2006
+++ llvm/test/Regression/Transforms/InstCombine/zeroext-and-reduce.ll	Mon Jan  1 23:55:05 2007
@@ -1,4 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'and i32 %Y, 8'
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
+; RUN:   grep 'and i32 %Y.s, 8'
 
 int %test1(ubyte %X) {
         %Y = cast ubyte %X to int






More information about the llvm-commits mailing list