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
This commit is contained in:
Chris Lattner 2002-08-21 17:11:18 +00:00
parent 546b027b3e
commit d92ac5ae01

View File

@ -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
}