From f7a305147132a9119fd7ef3ee4855c81f3bced00 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 28 May 2010 01:17:51 +0000 Subject: [PATCH] Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104913 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/PromoteMemoryToRegister.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index a316876b1b2..337474c1b1b 100644 --- a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp @@ -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"))