mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
catch another constant
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30533 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
886f98e6f9
commit
0ddae493e9
@ -1,7 +1,7 @@
|
||||
; RUN: llvm-as < %s | llc -march=alpha | not grep cmovlt
|
||||
; RUN: llvm-as < %s | llc -march=alpha | grep cmoveq
|
||||
|
||||
long %cmovlt_(long %a, long %c) {
|
||||
long %cmov_lt(long %a, long %c) {
|
||||
entry:
|
||||
%tmp.1 = setlt long %c, 0
|
||||
%retval = select bool %tmp.1, long %a, long 10
|
||||
@ -15,3 +15,9 @@ entry:
|
||||
ret long %retval
|
||||
}
|
||||
|
||||
long %cmov_lt2(long %a, long %c) {
|
||||
entry:
|
||||
%tmp.1 = setgt long %c, 0
|
||||
%retval = select bool %tmp.1, long 10, long %a
|
||||
ret long %retval
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user