mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 01:38:26 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21774 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0939d77452
commit
a9c83c73da
@ -164,3 +164,11 @@ sbyte %test23(int %A) {
|
||||
%D = cast int %C to sbyte
|
||||
ret sbyte %D
|
||||
}
|
||||
|
||||
sbyte %test24(sbyte %X) {
|
||||
%Y = and sbyte %X, -5 ; ~4
|
||||
%Z = shl sbyte %Y, ubyte 5
|
||||
%Q = shr sbyte %Z, ubyte 5
|
||||
ret sbyte %Q
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user