diff options
author | Jonathan Roelofs <jroelofs@jroelofs.com> | 2020-03-28 12:55:51 -0600 |
---|---|---|
committer | Jon Roelofs <jroelofs@jroelofs.com> | 2020-04-12 09:52:17 -0600 |
commit | 41f13f1f64d2074ae7512fb23656c22585e912bd (patch) | |
tree | 1b4f08ba335ab934bf437dfecbad83cd3ed468c0 /llvm/lib/Support/StringPool.cpp | |
parent | d2f1cd5d9712276730f09745825fb6d71c51e639 (diff) | |
download | llvm-41f13f1f64d2074ae7512fb23656c22585e912bd.zip llvm-41f13f1f64d2074ae7512fb23656c22585e912bd.tar.gz llvm-41f13f1f64d2074ae7512fb23656c22585e912bd.tar.bz2 |
reland: [DAG] Fix PR45049: LegalizeTypes crash
Sometimes LegalizeTypes knows about common subexpressions before SelectionDAG
does, leading to accidental SDValue removal before its reference count was
truly zero.
Differential Revision: https://reviews.llvm.org/D76994
Reviewed-By: bjope
Fixes: https://bugs.llvm.org/show_bug.cgi?id=45049
Reverted in 3ce77142a6452d76d6f97c9a6c2da193e78841ba because the previous patch
broke the expensive-checks bots. The new patch removes the broken check.
Diffstat (limited to 'llvm/lib/Support/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions