[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:25:18 PDT 2017


aprantl added a comment.

Sorry for updating this so often :-)
If the stack coloring change I outlined above turns out to be too complicated and the deferred ConvertDebugDeclareToDebugValue in GVN works, we could do the same thing in the stack coloring pass. (Perhaps even hook the functionality into the `llvm::salvageDebugInfo()` API that is there to be called on instructions before they are deleted).


https://reviews.llvm.org/D36596





More information about the llvm-commits mailing list