mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 06:06:19 +00:00
This is missed by InstCombine, patch comming
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bad13eb189
commit
e8148bc291
@ -206,3 +206,10 @@ uint %test29(uint %X, uint %x) {
|
||||
%tmp.10 = or uint %tmp.7, %tmp.9 ; <uint> [#uses=1]
|
||||
ret uint %tmp.10
|
||||
}
|
||||
|
||||
long %test30(long %x) {
|
||||
%tmp.2 = xor long %x, -9223372036854775808
|
||||
;; Add of sign bit -> xor of sign bit.
|
||||
%tmp.4 = add long %tmp.2, -9223372036854775808
|
||||
ret long %tmp.4
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user