Fix typo in comment
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Aug 2017 14:58:43 +0000 (14:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Aug 2017 14:58:43 +0000 (14:58 +0000)
llvm-svn: 310259

llvm/include/llvm/Analysis/TargetTransformInfoImpl.h

index 06c081a..d88d9b2 100644 (file)
@@ -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;
   }
 };