diff options
author | OCHyams <orlando.hyams@sony.com> | 2021-04-15 16:05:30 +0100 |
---|---|---|
committer | OCHyams <orlando.hyams@sony.com> | 2021-04-15 16:19:36 +0100 |
commit | 96a1e6b7cf72d9bd625903ea4b441404200383cf (patch) | |
tree | 2e76d410c154b8aba1d3d836e2f0b1ef23cb528b /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | 2a95cb5858f8bc0fed3956f72bd51bf6a948e660 (diff) | |
download | llvm-96a1e6b7cf72d9bd625903ea4b441404200383cf.zip llvm-96a1e6b7cf72d9bd625903ea4b441404200383cf.tar.gz llvm-96a1e6b7cf72d9bd625903ea4b441404200383cf.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions