diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2023-06-07 12:46:07 +0100 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2023-11-21 10:28:19 +0000 |
commit | 6d23aaad4ffdcdda56845e4ca392f09c5795630a (patch) | |
tree | a9964a172dc13c4d160451e01f1db681ac0cc693 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | ef9bcace834e63f25bbbc5e8e2b615f89d85fb2f (diff) | |
download | llvm-6d23aaad4ffdcdda56845e4ca392f09c5795630a.zip llvm-6d23aaad4ffdcdda56845e4ca392f09c5795630a.tar.gz llvm-6d23aaad4ffdcdda56845e4ca392f09c5795630a.tar.bz2 |
[DebugInfo][RemoveDIs] Implement redundant elimination for DPValues (#72284)
This pass steps through a block forwards and backwards, identifying those
variable assignment records that are redundant, and erases them, saving us
a decent wedge of compile-time. This patch re-implements it to use the
replacement for DbgValueInsts, DPValues, in an almost identical way.
Alas the test I've added the try-remove-dis flag to is the only one I've
been able to find that manually runs this pass.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions