diff options
author | Philip Reames <listmail@philipreames.com> | 2021-05-14 10:03:45 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2021-05-14 10:05:25 -0700 |
commit | 9d1a61e695eb01298e26c76867d65592f1e1968c (patch) | |
tree | 0a82fe2d3f0a8d77cafc4f5d42e0bac88a312f86 /llvm/unittests/ProfileData/CoverageMappingTest.cpp | |
parent | b7d1ab75cf474fb3ffc7e7173762c4d83eb2ef8e (diff) | |
download | llvm-9d1a61e695eb01298e26c76867d65592f1e1968c.zip llvm-9d1a61e695eb01298e26c76867d65592f1e1968c.tar.gz llvm-9d1a61e695eb01298e26c76867d65592f1e1968c.tar.bz2 |
Do actual DCE in LoopUnroll
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/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions