llvm/test/CodeGen/X86/2004-10-08-SelectSetCCFold.ll
Chris Lattner 1ce9e00f8b rename *.llx -> *.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49970 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-19 22:29:10 +00:00

9 lines
237 B
LLVM

; RUN: llvm-as < %s | llc -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
}