[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:07 PDT 2017
sanjoy created this revision.
Herald added subscribers: mcrosier, mehdi_amini.
And now that we no longer have to explicitly free() the Loop instances, we can
(with more ease) use the destructor of LoopBase to do what LoopBase::clear() was
doing.
https://reviews.llvm.org/D38201
Files:
include/llvm/Analysis/LoopInfo.h
include/llvm/Analysis/LoopInfoImpl.h
include/llvm/CodeGen/MachineLoopInfo.h
lib/Analysis/LoopInfo.cpp
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
lib/Transforms/Scalar/LoopUnswitch.cpp
lib/Transforms/Utils/CloneFunction.cpp
lib/Transforms/Utils/LoopSimplify.cpp
lib/Transforms/Utils/LoopUnroll.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp
unittests/Transforms/Scalar/LoopPassManagerTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38201.116422.patch
Type: text/x-patch
Size: 11505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170925/53722197/attachment.bin>
More information about the llvm-commits
mailing list