llvm-for-llvmta/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll

9 lines
244 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -verify-machineinstrs < %s -mtriple=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
}