[PATCH] D38201: Use a BumpPtrAllocator for Loop objects
Sanjoy Das via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 05:04:09 PDT 2017
sanjoy planned changes to this revision.
sanjoy added inline comments.
================
Comment at: lib/Analysis/LoopInfo.cpp:625
auto InvalidateOnExit =
make_scope_exit([&]() { BaseT::clearLoop(*Unloop); });
----------------
I should also be "freeing" the loop objects here (which for the bump ptr allocator would mean poisoning them).
https://reviews.llvm.org/D38201
More information about the llvm-commits
mailing list