Displaying 5 results from an estimated 5 matches for "setconvertaction".
2010 Mar 19
0
[LLVMdev] getConvertAction/setConvertAction
On Mar 19, 2010, at 12:23 PM, Villmow, Micah wrote:
> Is there anywhere in the codebase that actually uses the ConvertAction to determine how conversion functions are lowered?
I don't see any.
>
> In SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op)
>
> ...
> case ISD::SINT_TO_FP:
> case ISD::UINT_TO_FP:
> case ISD::EXTRACT_VECTOR_ELT:
> Action =
2008 Jul 07
5
[LLVMdev] fp_round libcall
Hi,
I'm trying to emit FP_ROUND f64 -> f32 considering a mips target that
only supports single
float point operations. The problem is that f32 is considered legal on this
target but f64 doesn't and the only way I can codegen this instruction is using
setConvertAction(MVT::f64, MVT::f32, Expand), which issues a EmitStackConvert.
What if I want a libcall instead? What should I do? The libcall FROUND_F64_F32
is there, but it seems that it cannot be reached without hacking. What
should I do
to support this? Am I missing something?
Thanks,
--
Bruno Cardoso Lopes...
2010 Mar 19
2
[LLVMdev] getConvertAction/setConvertAction
Is there anywhere in the codebase that actually uses the ConvertAction to determine how conversion functions are lowered?
In SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op)
...
case ISD::SINT_TO_FP:
case ISD::UINT_TO_FP:
case ISD::EXTRACT_VECTOR_ELT:
Action = TLI.getOperationAction(Node->getOpcode(),
Node->getOperand(0).getValueType());
2008 Jul 07
0
[LLVMdev] fp_round libcall
...oso Lopes wrote:
> I'm trying to emit FP_ROUND f64 -> f32 considering a mips target that
> only supports single
> float point operations. The problem is that f32 is considered legal on this
> target but f64 doesn't and the only way I can codegen this instruction is using
> setConvertAction(MVT::f64, MVT::f32, Expand), which issues a EmitStackConvert.
> What if I want a libcall instead? What should I do? The libcall FROUND_F64_F32
> is there, but it seems that it cannot be reached without hacking. What
> should I do
> to support this? Am I missing something?
Is it possibl...
2008 Jul 07
0
[LLVMdev] fp_round libcall
Hi Bruno,
> I'm trying to emit FP_ROUND f64 -> f32 considering a mips target that
> only supports single
> float point operations. The problem is that f32 is considered legal on this
> target but f64 doesn't and the only way I can codegen this instruction is using
> setConvertAction(MVT::f64, MVT::f32, Expand), which issues a EmitStackConvert.
> What if I want a libcall instead? What should I do? The libcall FROUND_F64_F32
> is there, but it seems that it cannot be reached without hacking. What
> should I do
> to support this? Am I missing something?
with the new...