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