]> granicus.if.org Git - llvm/commit
Merging r294003:
authorHans Wennborg <hans@hanshq.net>
Wed, 15 Feb 2017 22:34:24 +0000 (22:34 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 15 Feb 2017 22:34:24 +0000 (22:34 +0000)
commit946015a0837ccaf5041354a3a60458f50e1c2a17
treecc91615c291b6eb6a7e01ff86c609057446a74a6
parentf0610d1aac0650c33a63192fd24026d71430690e
Merging r294003:
------------------------------------------------------------------------
r294003 | abataev | 2017-02-03 04:28:40 -0800 (Fri, 03 Feb 2017) | 8 lines

[SelectionDAG] Fix for PR30775: Assertion `NodeToMatch->getOpcode() !=
ISD::DELETED_NODE && "NodeToMatch was removed partway through
selection"' failed.

NodeToMatch can be modified during matching, but code does not handle
this situation.

Differential Revision: https://reviews.llvm.org/D29292
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@295249 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/dag-update-nodetomatch.ll [new file with mode: 0644]