Fix a typo reported in IRC by someone reviewing this code.
authorChandler Carruth <chandlerc@gmail.com>
Sat, 31 Mar 2012 13:18:09 +0000 (13:18 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 31 Mar 2012 13:18:09 +0000 (13:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153815 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/InlineCost.cpp

index 3ad36f16ad963e286216a3f8e207fa541e5e51d9..246e679b21d2328927d83291d48f8736d9a92afa 100644 (file)
@@ -266,7 +266,7 @@ bool CallAnalyzer::visitAlloca(AllocaInst &I) {
   // FIXME: Check whether inlining will turn a dynamic alloca into a static
   // alloca, and handle that case.
 
-  // We will happily inline tatic alloca instructions or dynamic alloca
+  // We will happily inline static alloca instructions or dynamic alloca
   // instructions in always-inline situations.
   if (AlwaysInline || I.isStaticAlloca())
     return Base::visitAlloca(I);