From 1e122d1dc297f9386c11916df86fa0245b61041f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 18 Sep 2005 03:39:02 +0000 Subject: [PATCH] new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23375 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/or.ll | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll index 5ac274e3306..95f4ed1eb3b 100644 --- a/test/Transforms/InstCombine/or.ll +++ b/test/Transforms/InstCombine/or.ll @@ -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 +}