MIR Serialization: Initial serialization of stack objects.
[oota-llvm.git] / test / CodeGen / Generic / 2009-03-29-SoftFloatVectorExtract.ll
index 40ad3deaeea7062e3adce470852a1abef4fcf6ab..f614db00da48e8f487df911235743fb1bc04b8f5 100644 (file)
@@ -1,10 +1,14 @@
-; RUN: llvm-as < %s | llc -soft-float
+; RUN: llc < %s
 ; PR3899
 
-@m = external global <2 x double>;
+@m = external global <2 x double>
 
-define double @vector_ex() nounwind {
-       %v = load <2 x double>* @m
+define double @vector_ex() nounwind #0 {
+       %v = load <2 x double>, <2 x double>* @m
        %x = extractelement <2 x double> %v, i32 1
        ret double %x
 }
+
+; Soft-float attribute so that targets that pay attention to soft float will
+; make floating point types illegal and we'll exercise the legalizer code.
+attributes #0 = { "use-soft-float" = "true" }