Fix typo.

llvm-svn: 104914
This commit is contained in:
Devang Patel 2010-05-28 01:29:50 +00:00
parent e2099e8088
commit 3e0fbafab2
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.declare for inlined fn args.
// Otherwise propagate debug metadata from dbg.declare for inlined fn args.
else if (!DISubprogram(DIVar.getContext()).
describes(DDI->getParent()->getParent()))
if (MDNode *MD = DDI->getMetadata("dbg"))