mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -123,4 +123,10 @@ int %test19(bool %C) {
|
|||||||
ret int %V
|
ret int %V
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int %test20(int %x) {
|
||||||
|
%tmp.2 = xor int %x, -2147483648
|
||||||
|
;; Add of sign bit -> xor of sign bit.
|
||||||
|
%tmp.4 = add int %tmp.2, -2147483648
|
||||||
|
ret int %tmp.4
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user