xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=x86 -mcpu=corei7
2; We don't care about the output, just that it doesn't crash
3
4define <1 x i1> @buildvec_promote() {
5  %cmp = icmp ule <1 x i32> undef, undef
6  %sel = select i1 undef, <1 x i1> undef, <1 x i1> %cmp
7  ret <1 x i1> %sel
8}
9