[PATCH] D36596: [InstCombine] Don't convert all dbg.declares to dbg.values

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 10 16:18:51 PDT 2017

aprantl added a comment.

> It is possible that this change could regress debug info quality when other passes like GVN delete stores to locals.

Could we create a utility function `updateDebugInfoForDeletedStore` that finds any dbg.declare describing the alloca and runs ConvertDebugDeclareToDebugValue?


More information about the llvm-commits mailing list