summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-04-02 03:29:51 +0000
committerHal Finkel <hfinkel@anl.gov>2013-04-02 03:29:51 +0000
commit93d75ea08a7592062cb5b2cde9400d917508470d (patch)
tree445a69a8df69a5588304bc73c94e4708047b521d
parentc87d97231d124952cef90b8717066c940afab409 (diff)
downloadbcm5719-llvm-93d75ea08a7592062cb5b2cde9400d917508470d.tar.gz
bcm5719-llvm-93d75ea08a7592062cb5b2cde9400d917508470d.zip
Fix typo in PPCISelLowering
Thanks to Bill Schmidt for finding this in review of r178480. llvm-svn: 178521
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index 2cceb3d312c..0d8bfb98159 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -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) :
OpenPOWER on IntegriCloud