mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a8b490735
commit
b5ee959e63
@ -54,3 +54,10 @@ bool %test10(bool %C, bool %X) {
|
||||
%R = select bool %C, bool %X, bool true ; R = or !C, X
|
||||
ret bool %R
|
||||
}
|
||||
|
||||
int %test11(int %a) {
|
||||
%C = seteq int %a, 0
|
||||
%R = select bool %C, int 0, int 1
|
||||
ret int %R
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user