[PATCH] D33731: Prevent RemoveDeadNodes from deleted already deleted node.

Nirav Dave via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 11:05:17 PDT 2017


niravd created this revision.

This prevents against assertion errors like PR32659 which occur from a
replacement deleting a node after it's been added to the list argument
of RemoveDeadNodes.


https://reviews.llvm.org/D33731

Files:
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  test/CodeGen/X86/pr32659.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33731.100888.patch
Type: text/x-patch
Size: 3329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170531/fd926c2b/attachment.bin>


More information about the llvm-commits mailing list