mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 15:26:07 +00:00
Since we're in the neighborhood, test for the inverse
llvm-svn: 9710
This commit is contained in:
parent
97da28f949
commit
e89f46d190
@ -110,3 +110,9 @@ uint %test16(uint %A) { ; ~(X+c) == (-c-1)-X
|
||||
%C = xor uint %B, 4294967295
|
||||
ret uint %C
|
||||
}
|
||||
|
||||
uint %test17(uint %A) { ; ~(c-X) == X-(c-1) == X+(-c+1)
|
||||
%B = sub uint 123, %A
|
||||
%C = xor uint %B, 4294967295
|
||||
ret uint %C
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user