mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-09 03:56:28 +00:00
Add some more tests for: (A <setcc1> B) logicalop (A <setcc2> B)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7827 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e3c805a82
commit
b5dbd9a798
@ -84,3 +84,17 @@ bool %test12(ubyte %A) {
|
||||
%c = setne ubyte %B, 0
|
||||
ret bool %c
|
||||
}
|
||||
|
||||
bool %test13(ubyte %A, ubyte %B) {
|
||||
%C = setlt ubyte %A, %B
|
||||
%D = setgt ubyte %A, %B
|
||||
%E = xor bool %C, %D ; E = setne %A, %B
|
||||
ret bool %E
|
||||
}
|
||||
|
||||
bool %test14(ubyte %A, ubyte %B) {
|
||||
%C = seteq ubyte %A, %B
|
||||
%D = setne ubyte %B, %A
|
||||
%E = xor bool %C, %D ; E = true
|
||||
ret bool %E
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user