1; RUN: llc -mcpu=pwr7 < %s | FileCheck %s
2target datalayout = "E-m:e-i64:64-n32:64"
3target triple = "powerpc64-unknown-linux-gnu"
4
5; Function Attrs: nounwind
6define void @Compute_Lateral() #0 {
7entry:
8  br i1 undef, label %if.then, label %if.end
9
10if.then:                                          ; preds = %entry
11  unreachable
12
13if.end:                                           ; preds = %entry
14  %0 = select i1 undef, <2 x double> undef, <2 x double> zeroinitializer
15  %1 = extractelement <2 x double> %0, i32 1
16  store double %1, double* undef, align 8
17  ret void
18
19; CHECK-LABEL: @Compute_Lateral
20}
21
22attributes #0 = { nounwind }
23
24