diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-21 17:11:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-21 17:11:18 +0000 |
commit | d92ac5ae01617079404d3eb11ecc46970865c1cf (patch) | |
tree | e7e768b80d272c7d0b817f9e45a83e263bee694d /test | |
parent | 546b027b3ee0ed3a8c5e551a7e13fc8a1775ede9 (diff) |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/InstCombine/not.ll | 5 |
1 files changed, 5 insertions, 0 deletions
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 +} |