[llvm] r178521 - Fix typo in PPCISelLowering
Hal Finkel
hfinkel at anl.gov
Mon Apr 1 20:29:52 PDT 2013
Author: hfinkel
Date: Mon Apr 1 22:29:51 2013
New Revision: 178521
URL: http://llvm.org/viewvc/llvm-project?rev=178521&view=rev
Log:
Fix typo in PPCISelLowering
Thanks to Bill Schmidt for finding this in review of r178480.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp?rev=178521&r1=178520&r2=178521&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Mon Apr 1 22:29:51 2013
@@ -4788,7 +4788,7 @@ SDValue PPCTargetLowering::LowerINT_TO_F
"UINT_TO_FP is supported only with FPCVT");
// 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) ?
(Op.getOpcode() == ISD::UINT_TO_FP ?
PPCISD::FCFIDUS : PPCISD::FCFIDS) :
More information about the llvm-commits
mailing list