From 3a9a7701f0f935cf2db5aab11ac4b42a686cefe5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 4 May 2005 19:05:02 +0000 Subject: [PATCH] new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21689 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/set.ll | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll index 970fceb4cfa..6abf6461c11 100644 --- a/test/Transforms/InstCombine/set.ll +++ b/test/Transforms/InstCombine/set.ll @@ -106,3 +106,10 @@ bool %test19(bool %A, bool %B) { %C = seteq int %a, %b ret bool %C } + +uint %test20(uint %A) { + %B = and uint %A, 1 + %C = setne uint %B, 0 + %D = cast bool %C to uint + ret uint %D +} -- 2.34.1