New testcase for a pattern that occurs 20 times in perlbmk
authorChris Lattner <sabre@nondot.org>
Thu, 23 Sep 2004 21:42:49 +0000 (21:42 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 23 Sep 2004 21:42:49 +0000 (21:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16503 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/and.ll

index 87e0a5e34d3582c429beefe0cd420c3a9b13cff0..703dea3326ccb7e567ec525c4ce86d90c8b5f327 100644 (file)
@@ -113,3 +113,9 @@ sbyte %test17(sbyte %X, sbyte %Y) { ;; ~(~X & Y) --> (X | ~Y)
        ret sbyte %D
 }
 
+bool %test18(int %A) {
+       %B = and int %A, -128
+       %C = setne int %B, 0   ;; C >= 128
+       ret bool %C
+}
+