SuccessChanges

Summary

  1. [LiveDebugVariables] Use lexical scope to trim debug value live intervals The debug value live intervals computed by Live Debug Variables may extend beyond the range of the debug location's lexical scope. In this case, splitting of an interval can result in an interval outside of the scope being created, causing extra unnecessary DBG_VALUEs to be emitted. To prevent this, trim the intervals to the lexical scope. This resolves PR33730. Reviewers: aprantl Differential Revision: https://reviews.llvm.org/D35953
  2. Prune linefeed at eof.
  3. llvm/Support/CodeGenCWrappers.h: Add missing "llvm/ADT/Optional.h", to fix modules build.
Revision 309933 by rlougher:
[LiveDebugVariables] Use lexical scope to trim debug value live intervals

The debug value live intervals computed by Live Debug Variables may extend
beyond the range of the debug location's lexical scope. In this case,
splitting of an interval can result in an interval outside of the scope being
created, causing extra unnecessary DBG_VALUEs to be emitted. To prevent this,
trim the intervals to the lexical scope.

This resolves PR33730.

Reviewers: aprantl

Differential Revision: https://reviews.llvm.org/D35953
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/LiveDebugVariables.cppllvm.src/lib/CodeGen/LiveDebugVariables.cpp
The file was modified/llvm/trunk/test/DebugInfo/X86/dbg-value-dag-combine.llllvm.src/test/DebugInfo/X86/dbg-value-dag-combine.ll
The file was added/llvm/trunk/test/DebugInfo/X86/live-debug-variables.llllvm.src/test/DebugInfo/X86/live-debug-variables.ll
Revision 309932 by chapuni:
Prune linefeed at eof.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Support/CodeGenCWrappers.hllvm.src/include/llvm/Support/CodeGenCWrappers.h
Revision 309931 by chapuni:
llvm/Support/CodeGenCWrappers.h: Add missing "llvm/ADT/Optional.h", to fix modules build.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Support/CodeGenCWrappers.hllvm.src/include/llvm/Support/CodeGenCWrappers.h