mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e932de7f5
commit
72475c04ed
@ -38,8 +38,14 @@ entry:
|
||||
}
|
||||
|
||||
short %seli16_2(int %a, short %b) {
|
||||
entry:
|
||||
%tmp.1 = setlt int %a, 0
|
||||
%retval = select bool %tmp.1, short %b, short 0
|
||||
ret short %retval
|
||||
}
|
||||
|
||||
int %seli32_a_a(int %a) {
|
||||
%tmp = setlt int %a, 1
|
||||
%min = select bool %tmp, int %a, int 0
|
||||
ret int %min
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user