Fix typo.
authorDevang Patel <dpatel@apple.com>
Fri, 28 May 2010 01:17:51 +0000 (01:17 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 28 May 2010 01:17:51 +0000 (01:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104913 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/PromoteMemoryToRegister.cpp

index a316876b1b2496fac945dd1628a46793b034a3c1..337474c1b1b4b06c53a668d16238b27acddcc981 100644 (file)
@@ -897,7 +897,7 @@ void PromoteMem2Reg::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
   // Propagate any debug metadata from the store onto the dbg.value.
   if (MDNode *SIMD = SI->getMetadata("dbg"))
     DbgVal->setMetadata("dbg", SIMD);
-  // Otherwise propgate debug metadata from dbg.delcare for inlined fn args.
+  // Otherwise propgate debug metadata from dbg.declare for inlined fn args.
   else if (!DISubprogram(DIVar.getContext()).
            describes(DDI->getParent()->getParent()))
     if (MDNode *MD = DDI->getMetadata("dbg"))