xref: /llvm-project/llvm/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll (revision 6b898beb8e6bf5739d43c1d64646264afc595de8)
1; RUN: llc < %s -mtriple=i686-- -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