Files
Hans Wennborg 52140ec352 Merging r293522:
------------------------------------------------------------------------
r293522 | bogner | 2017-01-30 10:29:46 -0800 (Mon, 30 Jan 2017) | 8 lines

SDAG: Update ChainNodesMatched during UpdateChains if a node is replaced

Previously, we would hit UB (or the ISD::DELETED_NODE assert) if we
happened to replace a node during UpdateChains, because it would be
left in the list we were iterating over. This nulls out the pointer
when that happens so that we can avoid the issue.

Fixes llvm.org/PR31710
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@293650 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-31 17:02:48 +00:00
..
2013-07-19 16:24:22 +00:00
2013-09-16 09:03:10 +00:00
2015-10-10 07:14:24 +00:00
2016-10-19 16:58:59 +00:00
2016-08-08 18:11:13 +00:00
2013-07-19 16:32:12 +00:00
2013-07-19 16:32:12 +00:00
2013-07-19 16:24:22 +00:00
2016-06-23 21:18:59 +00:00
2017-01-31 17:02:48 +00:00
2016-10-19 16:58:59 +00:00
2016-10-19 16:58:59 +00:00
2016-06-10 19:58:10 +00:00
2013-07-19 16:24:22 +00:00