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

Chris Lattner lattner at cs.uiuc.edu
Thu Oct 7 22:03:39 PDT 2004



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

and.ll updated: 1.23 -> 1.24
---
Log message:

New testcase


---
Diffs of the changes:  (+7 -0)

Index: llvm/test/Regression/Transforms/InstCombine/and.ll
diff -u llvm/test/Regression/Transforms/InstCombine/and.ll:1.23 llvm/test/Regression/Transforms/InstCombine/and.ll:1.24
--- llvm/test/Regression/Transforms/InstCombine/and.ll:1.23	Tue Sep 28 16:39:35 2004
+++ llvm/test/Regression/Transforms/InstCombine/and.ll	Fri Oct  8 00:03:25 2004
@@ -178,3 +178,10 @@
         ret bool %D
 }
 
+ubyte %test27(ubyte %A) {
+	%B = and ubyte %A, 4
+	%C = sub ubyte %B, 16
+	%D = and ubyte %C, 240   ;; 0xF0
+	%E = add ubyte %D, 16
+	ret ubyte %E
+}






More information about the llvm-commits mailing list