llvm-6502/test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll

11 lines
229 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -soft-float
; PR3899
@m = external global <2 x double>;
define double @vector_ex() nounwind {
%v = load <2 x double>* @m
%x = extractelement <2 x double> %v, i32 1
ret double %x
}