mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23378 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3255bd101d
commit
dc0ffccb19
@ -196,3 +196,13 @@ int %test28(int %X) {
|
||||
%Z = sub int 42, %Y
|
||||
ret int %Z
|
||||
}
|
||||
|
||||
uint %test29(uint %X, uint %x) {
|
||||
%tmp.2 = sub uint %X, %x
|
||||
%tmp.2.mask = and uint %tmp.2, 63 ; <uint> [#uses=1]
|
||||
%tmp.6 = add uint %tmp.2.mask, %x ; <uint> [#uses=1]
|
||||
%tmp.7 = and uint %tmp.6, 63 ; <uint> [#uses=1]
|
||||
%tmp.9 = and uint %tmp.2, 4294967232 ; <uint> [#uses=1]
|
||||
%tmp.10 = or uint %tmp.7, %tmp.9 ; <uint> [#uses=1]
|
||||
ret uint %tmp.10
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user