[PATCH] D26224: NewGVN
Marcello Maggioni via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 18:54:42 PST 2016
kariddi added inline comments.
================
Comment at: lib/Transforms/Scalar/NewGVN.cpp:1219
+ ExpressionAllocator.Reset();
+ CongruenceClasses.clear();
+ ExpressionToClass.clear();
----------------
This gets cleared, but the CongruenceClasses seem to be created through "new" and stored in the vector.
Where do they get destroyed?
https://reviews.llvm.org/D26224
More information about the llvm-commits
mailing list