summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_uint_to_fp.ll
blob: 39e7d715c5bb77ac05d64d1a392a4d98288232d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -march=x86 -mcpu=sandybridge | 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
}