[PATCH] D17241: [Polly] [Refactor] Move isl_ctx into Scop.

Hongbin Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 05:52:09 PST 2016


etherzhhb added a comment.

They are deleted by "removeDeadPasses".

And the dead passes are collected by "collectLastUses".

Where the last users -- the passes that are going to be freed, are stored in a SmallPtrSet. (See line 569 of LegacyPassManager.cpp).

A SmallPtrSet is not an ordered container, as a result, there is no guarantee on the order we are going to free the dead passes.


http://reviews.llvm.org/D17241





More information about the llvm-commits mailing list