Files
clang-p2996/llvm/test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll
Jake Egan 423ea9ae7f [AIX] XFAIL 2009-03-29-SoftFloatVectorExtract.ll because of no soft float support
Soft floats are not currently supported on AIX, so mark this test as XFAIL on AIX for now.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D113407
2021-11-10 20:58:26 -05:00

16 lines
436 B
LLVM

; XFAIL: -aix
; RUN: llc < %s
; PR3899
@m = external global <2 x double>
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" }