blob: 45b561affffaf437fe4111e9e35894c902766091 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -soft-float
Duncan Sands754fad12009-03-29 13:51:06 +00002; PR3899
3
Dan Gohman81bc62c2010-01-05 17:55:26 +00004@m = external global <2 x double>
Duncan Sands754fad12009-03-29 13:51:06 +00005
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}