[PATCH] D25601: DAGCombiner: fix use-after-free when merging consecutive stores

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 02:59:45 PDT 2016


nhaehnle created this revision.
nhaehnle added reviewers: chandlerc, bogner.
nhaehnle added a subscriber: llvm-commits.

Have MergeConsecutiveStores explicitly return information about the stores
that were merged, so that we can safely determine whether the starting
node has been freed.


https://reviews.llvm.org/D25601

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25601.74642.patch
Type: text/x-patch
Size: 7056 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161014/fe9108be/attachment.bin>


More information about the llvm-commits mailing list