llvm.org GIT mirror llvm / release_80 test / CodeGen / X86 / 2008-10-16-VecUnaryOp.ll
release_80

Tree @release_80 (Download .tar.gz)

2008-10-16-VecUnaryOp.ll @release_80raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
; PR2762
define void @foo(<4 x i32>* %p, <4 x double>* %q) {
  %n = load <4 x i32>, <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
}