From 8081f40b50c6edf75f5d2226856106e4a3213148 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 13 Feb 2006 23:07:02 +0000 Subject: [PATCH] new testcase llvm-svn: 26154 --- llvm/test/Regression/Transforms/InstCombine/and.ll | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llvm/test/Regression/Transforms/InstCombine/and.ll b/llvm/test/Regression/Transforms/InstCombine/and.ll index dce91d7038be..ed6d26b9f73f 100644 --- a/llvm/test/Regression/Transforms/InstCombine/and.ll +++ b/llvm/test/Regression/Transforms/InstCombine/and.ll @@ -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 +} +