mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
92561196b7
not have native support for this operation (such as X86). The legalized code uses two vector INT_TO_FP operations and is faster than scalarizing. llvm-svn: 127951
12 lines
281 B
LLVM
12 lines
281 B
LLVM
; 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
|
|
}
|
|
|