From 297a22b97db29e2222c4cba27d2d17329889c318 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 5 Jan 2007 03:03:51 +0000 Subject: [PATCH] new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32892 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/xor.ll | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/Transforms/InstCombine/xor.ll b/test/Transforms/InstCombine/xor.ll index ad28660756a..f87e53a9227 100644 --- a/test/Transforms/InstCombine/xor.ll +++ b/test/Transforms/InstCombine/xor.ll @@ -181,3 +181,12 @@ int %test26(int %a, int %b) { ret int %tmp4 } + +i32 %test27(i32 %b, i32 %c, i32 %d) { + %tmp2 = xor i32 %d, %b + %tmp5 = xor i32 %d, %c + %tmp = icmp eq i32 %tmp2, %tmp5 + %tmp6 = zext bool %tmp to i32 + ret i32 %tmp6 +} + -- 2.34.1