[llvm] r310259 - Fix typo in comment
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 07:58:43 PDT 2017
Author: arsenm
Date: Mon Aug 7 07:58:43 2017
New Revision: 310259
URL: http://llvm.org/viewvc/llvm-project?rev=310259&view=rev
Log:
Fix typo in comment
Modified:
llvm/trunk/include/llvm/Analysis/TargetTransformInfoImpl.h
Modified: llvm/trunk/include/llvm/Analysis/TargetTransformInfoImpl.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TargetTransformInfoImpl.h?rev=310259&r1=310258&r2=310259&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/TargetTransformInfoImpl.h (original)
+++ llvm/trunk/include/llvm/Analysis/TargetTransformInfoImpl.h Mon Aug 7 07:58:43 2017
@@ -425,7 +425,7 @@ public:
unsigned getAddressComputationCost(Type *Tp, ScalarEvolution *,
const SCEV *) {
- return 0;
+ return 0;
}
unsigned getArithmeticReductionCost(unsigned, Type *, bool) { return 1; }
@@ -589,7 +589,7 @@ protected:
APInt StrideVal = Step->getAPInt();
if (StrideVal.getBitWidth() > 64)
return false;
- // FIXME: need to take absolute value for negtive stride case
+ // FIXME: Need to take absolute value for negative stride case.
return StrideVal.getSExtValue() < MergeDistance;
}
};
More information about the llvm-commits
mailing list