[PATCH] D27044: Compilation crash after node replacement

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 27 22:28:19 PST 2016


delena added inline comments.


================
Comment at: ../lib/CodeGen/SelectionDAG/SelectionDAG.cpp:6371
     // This node is about to morph, remove its old self from the CSE maps.
     RemoveNodeFromCSEMaps(User);
 
----------------
The crash happens due to this line. RemoveNodeFromCSEMaps() - deletes node that is currently in-use.


Repository:
  rL LLVM

https://reviews.llvm.org/D27044





More information about the llvm-commits mailing list