mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
004e27cc1b
when using -soft-float. Based on a patch by Jakob Stoklund Olesen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67996 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
229 B
LLVM
11 lines
229 B
LLVM
; 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
|
|
}
|