From faeac6b15edb504985eb66ecca09b681ee48aa53 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Aug 2017 14:58:43 +0000 Subject: [PATCH] Fix typo in comment llvm-svn: 310259 --- llvm/include/llvm/Analysis/TargetTransformInfoImpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h b/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h index 06c081a..d88d9b2 100644 --- a/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h +++ b/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h @@ -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; } }; -- 2.7.4