llvm/lib/CodeGen/SelectionDAG
Justin Bogner 78cd7cbf25 Re-apply "SDAG: Update ChainNodesMatched as nodes are deleted"
My first attempt at this had an overly aggressive assert - chain nodes
will only be removed, but we could hit the assert if a non-chain node
was CSE'd (NodeToMatch, for instance).

This reapplies r271706 by reverting r271713 and fixing an assert.

Original message:

Avoid relying on UB by looking into deleted nodes for a marker value.
Instead, update the list of chain nodes as we go.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271733 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-03 20:47:40 +00:00
..
2016-03-26 06:04:55 +00:00
2016-05-16 20:03:02 +00:00
2016-04-18 09:17:29 +00:00
2016-02-03 22:44:14 +00:00
2016-04-18 09:17:29 +00:00