2011-05-20 23:11:26 +08:00
|
|
|
; RUN: llc < %s -march=x86 -mcpu=corei7-avx | FileCheck %s
|
2011-03-19 21:09:10 +08:00
|
|
|
|
|
|
|
; Test that we are not lowering uinttofp to scalars
|
|
|
|
define <4 x float> @test1(<4 x i32> %A) nounwind {
|
2013-07-14 04:38:47 +08:00
|
|
|
; CHECK-LABEL: test1:
|
2011-03-19 21:09:10 +08:00
|
|
|
; CHECK-NOT: cvtsd2ss
|
|
|
|
; CHECK: ret
|
|
|
|
%C = uitofp <4 x i32> %A to <4 x float>
|
|
|
|
ret <4 x float> %C
|
|
|
|
}
|
|
|
|
|