summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2017-07-18 17:39:15 +0000
committerNirav Dave <niravd@google.com>2017-07-18 17:39:15 +0000
commit07871007aa3245c79b592106bae5326e21f7f27a (patch)
treeb0c0b9636fa8cbc9346919cf50e08c7a87740f40 /clang/lib/Sema/Sema.cpp
parentafe8549269fc9957daea2dea697fbe41ba5bbbc4 (diff)
downloadbcm5719-llvm-07871007aa3245c79b592106bae5326e21f7f27a.tar.gz
bcm5719-llvm-07871007aa3245c79b592106bae5326e21f7f27a.zip
[DAG] Avoid deleting nodes before combining them.
When replacing a node and it's operand, replacing the operand node may cause the deletion of the original node leading to an assertion failure. Case around these replacements to avoid this without relying on inspecting the DELETED_NODE opcode in various extend dagcombiner cases. Fixes PR32515. Reviewers: dbabokin, RKSimon, davide, chandlerc Subscribers: chandlerc, llvm-commits Differential Revision: https://reviews.llvm.org/D34095 llvm-svn: 308330
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud