From: Chris Lattner Date: Wed, 21 Aug 2002 17:11:18 +0000 (+0000) Subject: Add testcase for the not (setcc A, B) case X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d92ac5ae01617079404d3eb11ecc46970865c1cf;p=oota-llvm.git Add testcase for the not (setcc A, B) case git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3418 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/not.ll b/test/Transforms/InstCombine/not.ll index 870e195add2..8bc85866499 100644 --- a/test/Transforms/InstCombine/not.ll +++ b/test/Transforms/InstCombine/not.ll @@ -14,3 +14,8 @@ int %test1(int %A) { ret int %C } +bool %test2(int %A, int %B) { + %cond = setle int %A, %B ; Can change into setge + %Ret = xor bool %cond, true + ret bool %Ret +}