diff options
| author | Davide Italiano <davide@freebsd.org> | 2017-01-20 23:29:28 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2017-01-20 23:29:28 +0000 |
| commit | 71f2d9c2d54ba1301c892daf742aaea7a8cf172f (patch) | |
| tree | 0b0f14dff23319817facdc9901d0808f0f03eafa /llvm/lib/Support | |
| parent | 7f3ad2e07b3bae3f1801ae5872714e8bd86f3589 (diff) | |
| download | bcm5719-llvm-71f2d9c2d54ba1301c892daf742aaea7a8cf172f.tar.gz bcm5719-llvm-71f2d9c2d54ba1301c892daf742aaea7a8cf172f.zip | |
[NewGVN] Optimize processing for instructions found trivially dead.
Don't call `isTriviallyDeadInstructions()` once we discover that
an instruction is dead. Instead, set DFS number zero (as suggested
by Danny) and forget about it (this also speeds up things as we
won't try to reprocess that block).
Differential Revision: https://reviews.llvm.org/D28930
llvm-svn: 292676
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions

