mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
7cb07874dc
codegen infrastructure, by default. Please report any breakage to the mailing lists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58232 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
235 B
LLVM
9 lines
235 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
|
; PR2762
|
|
define void @foo(<4 x i32>* %p, <4 x double>* %q) {
|
|
%n = load <4 x i32>* %p
|
|
%z = sitofp <4 x i32> %n to <4 x double>
|
|
store <4 x double> %z, <4 x double>* %q
|
|
ret void
|
|
}
|