mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 12:19:53 +00:00
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:
parent
546b027b3e
commit
d92ac5ae01
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user