1; RUN: opt -instcombine -S < %s | FileCheck %s
2
3; CHECK-LABEL: @foo(
4; CHECK: <i32 1, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0>
5
6define <8 x i32> @foo() nounwind {
7entry:
8  %v1.i = select <8 x i1> <i1 true, i1 false, i1 false, i1 false, i1 false, i1 false, i1 false, i1 false>,
9    <8 x i32> <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>,
10    <8 x i32> <i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0>
11  ret <8 x i32> %v1.i
12}
13
14