mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 06:06:32 +00:00
da813f4209
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147323 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
446 B
LLVM
15 lines
446 B
LLVM
; RUN: llc < %s -march=x86 -mattr=+sse41,-avx | FileCheck %s
|
|
|
|
; PR11674
|
|
define void @fpext_frommem(<2 x float>* %in, <2 x double>* %out) {
|
|
entry:
|
|
; TODO: We should be able to generate cvtps2pd for the load.
|
|
; For now, just check that we generate something sane.
|
|
; CHECK: cvtss2sd
|
|
; CHECK: cvtss2sd
|
|
%0 = load <2 x float>* %in, align 8
|
|
%1 = fpext <2 x float> %0 to <2 x double>
|
|
store <2 x double> %1, <2 x double>* %out, align 1
|
|
ret void
|
|
}
|