mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
New testcase. The setcc is only used by a select, but not as a condition:
it cannot be folded in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf4f810372
commit
d4bcae9031
8
test/CodeGen/X86/2004-10-08-SelectSetCCFold.llx
Normal file
8
test/CodeGen/X86/2004-10-08-SelectSetCCFold.llx
Normal file
@ -0,0 +1,8 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86
|
||||
|
||||
bool %test(bool %C, bool %D, int %X, int %Y) {
|
||||
%E = setlt int %X, %Y
|
||||
%F = select bool %C, bool %D, bool %E
|
||||
ret bool %F
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user