OSDN Git Service

Fix typo in PPCISelLowering
authorHal Finkel <hfinkel@anl.gov>
Tue, 2 Apr 2013 03:29:51 +0000 (03:29 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 2 Apr 2013 03:29:51 +0000 (03:29 +0000)
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

lib/Target/PowerPC/PPCISelLowering.cpp

index 2cceb3d..0d8bfb9 100644 (file)
@@ -4788,7 +4788,7 @@ SDValue PPCTargetLowering::LowerINT_TO_FP(SDValue Op,
          "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) :