[PATCH] D17241: [Refactor] Move isl_ctx into Scop.
Hongbin Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 13 09:22:55 PST 2016
etherzhhb updated this revision to Diff 47915.
etherzhhb marked an inline comment as done.
etherzhhb added a comment.
In order to make sure that we delete the isl context after all isl objects are delete, we introduce shared_ptrs to manage the life time of the context. We are going to distribute the shared_ptr to Dependences/IslNode which also create isl objects form the context. By doing this, we make sure the context is delete when we delete the last objects that create isl object from the context.
Repository:
rL LLVM
http://reviews.llvm.org/D17241
Files:
include/polly/DependenceInfo.h
include/polly/ScopInfo.h
lib/Analysis/DependenceInfo.cpp
lib/Analysis/ScopInfo.cpp
lib/CodeGen/IslAst.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17241.47915.patch
Type: text/x-patch
Size: 10452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160213/bcc7132f/attachment.bin>
More information about the llvm-commits
mailing list