From 009b1c42aa6266385f2c37e227516b24077e6dd7 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 2 Jun 2009 17:52:33 +0000 Subject: Import LLVM, at r72732. --- test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll (limited to 'test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll') diff --git a/test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll b/test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll new file mode 100644 index 000000000000..40ad3deaeea7 --- /dev/null +++ b/test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll @@ -0,0 +1,10 @@ +; 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 +} -- cgit v1.3