llvm.org GIT mirror llvm / 8975f51 test / CodeGen / X86 / vec_uint_to_fp.ll
8975f51

Tree @8975f51 (Download .tar.gz)

vec_uint_to_fp.ll @8975f51raw · history · blame

; RUN: llc < %s -march=x86 -mcpu=corei7-avx | FileCheck %s

; Test that we are not lowering uinttofp to scalars
define <4 x float> @test1(<4 x i32> %A) nounwind {
; CHECK: test1:
; CHECK-NOT: cvtsd2ss
; CHECK: ret
  %C = uitofp <4 x i32> %A to <4 x float>
  ret <4 x float> %C
}