[PATCH] D47463: [TableGen] Avoid leaking TreePatternNodes by using shared_ptr.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 10:35:32 PDT 2018


fhahn updated this revision to Diff 148941.
fhahn added a comment.

Thanks Daniel! I removed the changes related to leaking DAGInstruction::Pattern. I will add a separate patch for that, it should be easier to review that way.


https://reviews.llvm.org/D47463

Files:
  utils/TableGen/CodeGenDAGPatterns.cpp
  utils/TableGen/CodeGenDAGPatterns.h
  utils/TableGen/DAGISelMatcherGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47463.148941.patch
Type: text/x-patch
Size: 53513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180529/e8205c5b/attachment.bin>


More information about the llvm-commits mailing list