aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll
blob: de4c1e70b8d85e4e7b4a1e5d4566f46721536184 (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s -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
}