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