HomePhabricator

[DebugInfo] Refactor SalvageDebugInfo and SalvageDebugInfoForDbgValues

Authored by chrisjackson on Jun 11 2020, 2:28 AM.

Description

[DebugInfo] Refactor SalvageDebugInfo and SalvageDebugInfoForDbgValues

  • Simplify the salvaging interface and the algorithm in InstCombine

Reviewers: vsk, aprantl, Orlando, jmorse, TWeaver

Reviewed by: Orlando

Differential Revision: https://reviews.llvm.org/D79863