1; RUN: llc < %s
2; PR3899
3
4@m = external global <2 x double>
5
6define double @vector_ex() nounwind #0 {
7       %v = load <2 x double>, <2 x double>* @m
8       %x = extractelement <2 x double> %v, i32 1
9       ret double %x
10}
11
12; Soft-float attribute so that targets that pay attention to soft float will
13; make floating point types illegal and we'll exercise the legalizer code.
14attributes #0 = { "use-soft-float" = "true" }
15