1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll

9 lines
235 B
LLVM
Raw Normal View History

; 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
}