1; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx
2target triple = "x86_64-unknown-linux-gnu"
3; Make sure we are not crashing on this one
4define void @autogen_28112_5000() {
5BB:
6  %S17 = icmp sgt <1 x i64> undef, undef
7  %E19 = extractelement <1 x i1> %S17, i32 0
8  br label %CF
9
10CF:                                               ; preds = %CF, %BB
11  %S23 = select i1 %E19, i8 undef, i8 undef
12  br label %CF
13}
14