aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
blob: ad02ece900c8deef914fe73b07c3c50a9e6d7e91 (plain) (blame)
1
2
3
4
5
6
7
8
; 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
}