1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/CodeGen/X86/2004-10-08-SelectSetCCFold.ll
2009-09-08 23:54:48 +00:00

9 lines
227 B
LLVM

; RUN: llc < %s -march=x86
define i1 @test(i1 %C, i1 %D, i32 %X, i32 %Y) {
%E = icmp slt i32 %X, %Y ; <i1> [#uses=1]
%F = select i1 %C, i1 %D, i1 %E ; <i1> [#uses=1]
ret i1 %F
}