diff options
author | Philip Reames <listmail@philipreames.com> | 2021-05-14 10:41:25 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2021-05-14 10:42:36 -0700 |
commit | 653fa0b46ae34c06495b542414b704b30381cd02 (patch) | |
tree | afd75d8849a2cffb6509533147447410b90184b8 /llvm/lib/Demangle/RustDemangle.cpp | |
parent | c17ac8432e62efcbbcaa5519739b403275c553ff (diff) | |
download | llvm-653fa0b46ae34c06495b542414b704b30381cd02.zip llvm-653fa0b46ae34c06495b542414b704b30381cd02.tar.gz llvm-653fa0b46ae34c06495b542414b704b30381cd02.tar.bz2 |
Do actual DCE in LoopUnroll (try 2)
Recommitting after addressing a missed review comment, and updating an aarch64 test I'd missed.
LoopUnroll does a limited DCE pass after unrolling, but if you have a chain of dead instructions, it only deletes the last one. Improve the code to recursively delete all trivially dead instructions.
Differential Revision: https://reviews.llvm.org/D102511
Diffstat (limited to 'llvm/lib/Demangle/RustDemangle.cpp')
0 files changed, 0 insertions, 0 deletions