new testcase
authorChris Lattner <sabre@nondot.org>
Sun, 18 Sep 2005 03:39:02 +0000 (03:39 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Sep 2005 03:39:02 +0000 (03:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23375 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/or.ll

index 5ac274e33062ab755164a056951bbcbf333a25c6..95f4ed1eb3b9753a42217c40e112ce38e1d7503a 100644 (file)
@@ -133,3 +133,11 @@ int %test20(int %x) {
        %z = or int %y, %x
        ret int %z
 }
+
+uint %test21(uint %tmp.1) {
+        %tmp.1.mask1 = add uint %tmp.1, 2
+        %tmp.3 = and uint %tmp.1.mask1, 4294967294
+        %tmp.5 = and uint %tmp.1, 1
+        %tmp.6 = or uint %tmp.5, %tmp.3   ;; add tmp.1, 2
+       ret uint %tmp.6
+}