mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Another testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12802 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c48527330
commit
7c4865dfff
@ -116,3 +116,11 @@ ubyte %test18(ubyte %A) {
|
||||
%C = add ubyte %B, 17 ; == sub ubyte 16, %A
|
||||
ret ubyte %C
|
||||
}
|
||||
|
||||
int %test19(bool %C) {
|
||||
%A = select bool %C, int 1000, int 10
|
||||
%V = add int %A, 123
|
||||
ret int %V
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user