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