[llvm] r327395 - [TTI] Fix a typo in the comment

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 13 06:52:47 PDT 2018


Author: haicheng
Date: Tue Mar 13 06:52:47 2018
New Revision: 327395

URL: http://llvm.org/viewvc/llvm-project?rev=327395&view=rev
Log:
[TTI] Fix a typo in the comment

Modified:
    llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h

Modified: llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h?rev=327395&r1=327394&r2=327395&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h (original)
+++ llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h Tue Mar 13 06:52:47 2018
@@ -614,7 +614,7 @@ public:
       }
 
       // If we are legalizing by splitting, query the concrete TTI for the cost
-      // of casting the original vector twice. We also need to factor int the
+      // of casting the original vector twice. We also need to factor in the
       // cost of the split itself. Count that as 1, to be consistent with
       // TLI->getTypeLegalizationCost().
       if ((TLI->getTypeAction(Src->getContext(), TLI->getValueType(DL, Src)) ==




More information about the llvm-commits mailing list