[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 10:44:12 PDT 2018
probinson added a comment.
Moving DBG_VALUE instructions along with the instructions that define the associated values is the right thing to do.
So the change is, uses by debug instructions no longer affect the decision to move the COPY, and (now that they don't prevent the sink) move said debug instructions along with the COPY.
That all sounds good. I don't doubt there are more places where this needs to happen, but it seems like it can only help here.
https://reviews.llvm.org/D45637
More information about the llvm-commits
mailing list