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