mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -99,3 +99,9 @@ int %test15(int %A, int %B) {
|
||||
%D = rem int %B, %C ;; X % -Y === X % Y
|
||||
ret int %D
|
||||
}
|
||||
|
||||
int %test16(int %A) {
|
||||
%X = div int %A, 1123
|
||||
%Y = sub int 0, %X
|
||||
ret int %Y
|
||||
}
|
||||
|
Reference in New Issue
Block a user