Fix typo.

llvm-svn: 104913
This commit is contained in:
Devang Patel 2010-05-28 01:17:51 +00:00
parent 48be842592
commit e2099e8088
1 changed files with 1 additions and 1 deletions

View 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"))