From d92ac5ae01617079404d3eb11ecc46970865c1cf Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 21 Aug 2002 17:11:18 +0000 Subject: 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 --- test/Transforms/InstCombine/not.ll | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/Transforms/InstCombine/not.ll b/test/Transforms/InstCombine/not.ll index 870e195add..8bc8586649 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 +} -- cgit v1.2.3-18-g5258