commit | 5d049ff8f5e9b265c81ea23dcc666f8f855c6200 | [log] [tgz] |
---|---|---|
author | OCHyams <orlando.hyams@sony.com> | Thu Apr 15 16:05:30 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 12:58:01 2021 -0700 |
tree | 114a3b915b1d2eaf2838d1f7483f836b9af5dc5a | |
parent | a61c4f69a8448202c4f24c4262350b217cf62aa2 [diff] |
[DebugInfo] Replace debug uses in replaceUsesOutsideBlock Value::replaceUsesOutsideBlock doesn't replace debug uses which leads to an unnecessary reduction in variable location coverage. Fix this, add a unittest for it, and add a regression test demonstrating the change through instcombine's replacedSelectWithOperand. Reviewed By: djtodoro Differential Revision: https://reviews.llvm.org/D99169 GitOrigin-RevId: 96a1e6b7cf72d9bd625903ea4b441404200383cf