xref: /llvm-project/llvm/test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll (revision 0e8bd5a44a1bd8034706189b49a7a816c59304cd)
1; XFAIL: target={{.*}}-aix{{.*}}
2; RUN: llc < %s
3; PR3899
4
5@m = external global <2 x double>
6
7define double @vector_ex() nounwind #0 {
8       %v = load <2 x double>, ptr @m
9       %x = extractelement <2 x double> %v, i32 1
10       ret double %x
11}
12
13; Soft-float attribute so that targets that pay attention to soft float will
14; make floating point types illegal and we'll exercise the legalizer code.
15attributes #0 = { "use-soft-float" = "true" }
16