1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/Regression/CodeGen/X86/2004-10-08-SelectSetCCFold.llx
Chris Lattner 0a1bfd5be0 New testcase. The setcc is only used by a select, but not as a condition:
it cannot be folded in.

llvm-svn: 16839
2004-10-08 16:33:40 +00:00

9 lines
163 B
Plaintext

; 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
}