llvm-project/llvm/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll

9 lines
241 B
LLVM
Raw Normal View History

; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
2008-10-16 16:56:46 +08:00
; PR2762
define void @foo(<4 x i32>* %p, <4 x double>* %q) {
%n = load <4 x i32>, <4 x i32>* %p
2008-10-16 16:56:46 +08:00
%z = sitofp <4 x i32> %n to <4 x double>
store <4 x double> %z, <4 x double>* %q
ret void
}