From: Chris Lattner Date: Mon, 9 May 2005 04:54:18 +0000 (+0000) Subject: New testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2f2c3e43928f6a23f7ecf7d158d4b605e64db6b4;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21808 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index 81cd325c3f4..dce91d7038b 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/Transforms/InstCombine/and.ll @@ -211,3 +211,12 @@ uint %test32(uint %In) { %A = and uint %Z, 1 ret uint %A } + +uint %test33(uint %b) { ;; Code corresponding to one-bit bitfield ^1. + %tmp.4.mask = and uint %b, 1 + %tmp.10 = xor uint %tmp.4.mask, 1 + %tmp.12 = and uint %b, 4294967294 + %tmp.13 = or uint %tmp.12, %tmp.10 + ret uint %tmp.13 +} +