From: Chris Lattner Date: Thu, 23 Sep 2004 21:42:49 +0000 (+0000) Subject: New testcase for a pattern that occurs 20 times in perlbmk X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7502ae664093e3274c8807c94a4c7504be24a456;p=oota-llvm.git New testcase for a pattern that occurs 20 times in perlbmk git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16503 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index 87e0a5e34d3..703dea3326c 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/Transforms/InstCombine/and.ll @@ -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 +} +