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:
parent
6c83ee57c1
commit
795d6f0ccb
@ -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