diff options
author | Florian Hahn <florian.hahn@arm.com> | 2018-11-07 17:20:07 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2018-11-07 17:20:07 +0000 |
commit | ac86038b407514cc1a93b05d0a4b375c49298a0b (patch) | |
tree | 57f37cc7700edfa77a37c858e874570dd076f49c /llvm/lib/Support/SHA1.cpp | |
parent | 5fbc72f5261ff381eae8494be462d48e7404d1b5 (diff) | |
download | bcm5719-llvm-ac86038b407514cc1a93b05d0a4b375c49298a0b.tar.gz bcm5719-llvm-ac86038b407514cc1a93b05d0a4b375c49298a0b.zip |
[NewGVN] Make sure we do not add a user to itself.
If we simplify an instruction to itself, we do not need to add a user to
itself. For congruence classes with a defining expression, we already
use a similar logic.
Fixes PR38259.
Reviewers: davide, efriedma, mcrosier
Reviewed By: davide
Differential Revision: https://reviews.llvm.org/D51168
llvm-svn: 346335
Diffstat (limited to 'llvm/lib/Support/SHA1.cpp')
0 files changed, 0 insertions, 0 deletions