llvm/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
2009-09-09 00:09:15 +00:00

9 lines
219 B
LLVM

; RUN: llc < %s -march=ppc32
define i32 @main() {
%setle = icmp sle i64 1, 0 ; <i1> [#uses=1]
%select = select i1 true, i1 %setle, i1 true ; <i1> [#uses=0]
ret i32 0
}