mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-01 02:33:44 +00:00
Fix typo in PPCISelLowering
Thanks to Bill Schmidt for finding this in review of r178480. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178521 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92142b3275
commit
2a401959b9
@ -4788,7 +4788,7 @@ SDValue PPCTargetLowering::LowerINT_TO_FP(SDValue Op,
|
|||||||
"UINT_TO_FP is supported only with FPCVT");
|
"UINT_TO_FP is supported only with FPCVT");
|
||||||
|
|
||||||
// If we have FCFIDS, then use it when converting to single-precision.
|
// If we have FCFIDS, then use it when converting to single-precision.
|
||||||
// Otherwise, convert to double-prcision and then round.
|
// Otherwise, convert to double-precision and then round.
|
||||||
unsigned FCFOp = (PPCSubTarget.hasFPCVT() && Op.getValueType() == MVT::f32) ?
|
unsigned FCFOp = (PPCSubTarget.hasFPCVT() && Op.getValueType() == MVT::f32) ?
|
||||||
(Op.getOpcode() == ISD::UINT_TO_FP ?
|
(Op.getOpcode() == ISD::UINT_TO_FP ?
|
||||||
PPCISD::FCFIDUS : PPCISD::FCFIDS) :
|
PPCISD::FCFIDUS : PPCISD::FCFIDS) :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user