forked from OSchip/llvm-project
[X86] Update stale comment. NFC
The optimization in ExpandIntOp_UINT_TO_FP was removed in D72728 in January 2020.
This commit is contained in:
parent
673484b341
commit
0851350557
|
@ -20149,10 +20149,8 @@ SDValue X86TargetLowering::LowerUINT_TO_FP(SDValue Op,
|
|||
SDValue Store =
|
||||
DAG.getStore(Chain, dl, ValueToStore, StackSlot, MPI, Align(8));
|
||||
// For i64 source, we need to add the appropriate power of 2 if the input
|
||||
// was negative. This is the same as the optimization in
|
||||
// DAGTypeLegalizer::ExpandIntOp_UNIT_TO_FP, and for it to be safe here,
|
||||
// we must be careful to do the computation in x87 extended precision, not
|
||||
// in SSE. (The generic code can't know it's OK to do this, or how to.)
|
||||
// was negative. We must be careful to do the computation in x87 extended
|
||||
// precision, not in SSE.
|
||||
SDVTList Tys = DAG.getVTList(MVT::f80, MVT::Other);
|
||||
SDValue Ops[] = { Store, StackSlot };
|
||||
SDValue Fild =
|
||||
|
|
Loading…
Reference in New Issue