blob: 40ad3deaeea7062e3adce470852a1abef4fcf6ab [file] [log] [blame]
Duncan Sands004e27c2009-03-29 13:51:06 +00001; RUN: llvm-as < %s | llc -soft-float
2; PR3899
3
4@m = external global <2 x double>;
5
6define double @vector_ex() nounwind {
7 %v = load <2 x double>* @m
8 %x = extractelement <2 x double> %v, i32 1
9 ret double %x
10}