mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Legalize support for fpextend of vector. PR9309.
llvm-svn: 126574
This commit is contained in:
parent
ab32f19034
commit
b6f7dcb996
@ -440,6 +440,7 @@ void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) {
|
||||
case ISD::FCEIL:
|
||||
case ISD::FRINT:
|
||||
case ISD::FNEARBYINT:
|
||||
case ISD::FP_EXTEND:
|
||||
case ISD::FP_TO_SINT:
|
||||
case ISD::FP_TO_UINT:
|
||||
case ISD::SINT_TO_FP:
|
||||
@ -2005,6 +2006,7 @@ bool DAGTypeLegalizer::WidenVectorOperand(SDNode *N, unsigned ResNo) {
|
||||
case ISD::STORE: Res = WidenVecOp_STORE(N); break;
|
||||
|
||||
case ISD::FP_ROUND:
|
||||
case ISD::FP_EXTEND:
|
||||
case ISD::FP_TO_SINT:
|
||||
case ISD::FP_TO_UINT:
|
||||
case ISD::SINT_TO_FP:
|
||||
|
7
test/CodeGen/Generic/2011-02-27-Fpextend.ll
Normal file
7
test/CodeGen/Generic/2011-02-27-Fpextend.ll
Normal file
@ -0,0 +1,7 @@
|
||||
; RUN: llc < %s
|
||||
; PR9309
|
||||
|
||||
define <4 x double> @f_fu(<4 x float>) nounwind {
|
||||
%float2double.i = fpext <4 x float> %0 to <4 x double>
|
||||
ret <4 x double> %float2double.i
|
||||
}
|
Loading…
Reference in New Issue
Block a user