1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Add testcase for the not (setcc A, B) case

llvm-svn: 3418
This commit is contained in:
Chris Lattner 2002-08-21 17:11:18 +00:00
parent 6c83ee57c1
commit 795d6f0ccb

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
}