[PATCH] D45878: [DEBUG INFO] Fixing cases where debug info (-g) causes changes in the program.

Matt Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 28 08:33:51 PDT 2018


mattd added a comment.

Hi jonpa,  thanks for working on all of these cases.  I had a similar fix for MachineSink.cpp;  see https://reviews.llvm.org/D45637 for details.  Feel free to either lift that code or I can commit it separately, pending approval.  I want to avoid duplicating effort, as I already have an accompany test for that logic as well.  My solution creates a routine around the logic for sinking DBG_VALUE instructions, as that same logic is also used in another routine in that file.


https://reviews.llvm.org/D45878





More information about the llvm-commits mailing list