new testcase
authorChris Lattner <sabre@nondot.org>
Mon, 13 Feb 2006 23:07:02 +0000 (23:07 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 13 Feb 2006 23:07:02 +0000 (23:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26154 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/and.ll

index dce91d7038be29e4d744f6c585e259aa428c652f..ed6d26b9f73fe17d36674d665ab1d763b86545cc 100644 (file)
@@ -220,3 +220,9 @@ uint %test33(uint %b) {   ;; Code corresponding to one-bit bitfield ^1.
         ret uint %tmp.13
 }
 
+int %test34(int %A, int %B) {
+        %tmp.2 = or int %B, %A
+        %tmp.4 = and int %tmp.2, %B
+        ret int %tmp.4
+}
+