[PATCH] D35953: [LiveDebugVariables] Use lexical scope to trim debug value live intervals

Robert Lougher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 11:45:03 PDT 2017


rob.lougher updated this revision to Diff 109160.
rob.lougher added a comment.

Address review comments.  Now enabled for non-inlined variables.  This required fixing a test to make it more resilient (it checks that we get the expected number of debug values, but was also enforcing a specific order).  I've also changed where the LexicalScopes are generated, as they're only needed when computing the intervals.


https://reviews.llvm.org/D35953

Files:
  lib/CodeGen/LiveDebugVariables.cpp
  test/DebugInfo/X86/dbg-value-dag-combine.ll
  test/DebugInfo/X86/live-debug-variables.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35953.109160.patch
Type: text/x-patch
Size: 16088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170801/60b4bd19/attachment.bin>


More information about the llvm-commits mailing list