mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
xor x, ALLONES should -> not x
llvm-svn: 3285
This commit is contained in:
parent
531bdf1aaf
commit
e74955adc5
@ -48,6 +48,11 @@ int "test8"(int %A) {
|
||||
ret int %B
|
||||
}
|
||||
|
||||
int %testXOR9(int %A) {
|
||||
%B = xor int %A, -1
|
||||
ret int %B
|
||||
}
|
||||
|
||||
bool "test9"(bool %A) {
|
||||
%B = or bool %A, %A
|
||||
ret bool %B
|
||||
@ -58,5 +63,8 @@ int "test10"(int %A) {
|
||||
ret int %B
|
||||
}
|
||||
|
||||
|
||||
bool %test11(bool %A) {
|
||||
%B = xor bool %A, true
|
||||
ret bool %B
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user