forked from OSchip/llvm-project
parent
5f25fb0dd7
commit
5c063c9348
|
@ -122,3 +122,9 @@ uint %test18(uint %A) { ; C - ~X == X + (1+C)
|
|||
%C = sub uint 123, %B
|
||||
ret uint %C
|
||||
}
|
||||
|
||||
uint %test19(uint %A, uint %B) {
|
||||
%C = xor uint %A, %B
|
||||
%D = xor uint %C, %A ; A terms cancel, D = B
|
||||
ret uint %D
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue