2008-10-27 08:42:46 +00:00
|
|
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
2008-10-16 08:56:46 +00:00
|
|
|
; 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
|
|
|
|
}
|