[PATCH] D45637: [DebugInfo] Ignore DBG_VALUE instructions in PostRA Machine Sink

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 20 15:19:24 PDT 2018


probinson added a comment.

As I had noted earlier, once you modify the pass so that the debug instruction doesn't interfere with the code motion, the associated debug instructions have to move with the real instruction.  In that respect, the patch is doing the right thing.

I am unconvinced that it is a real, practical problem to treat real instructions and their associated debug info as a unit.  Once we have a demonstrable problem, we can work out how to deal with it.


https://reviews.llvm.org/D45637





More information about the llvm-commits mailing list