[PATCH] D68107: [LoopInfo] Remove duplicates in ExitBlocks to reduce the compile time of hasDedicatedExits
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 16:05:45 PDT 2019
reames requested changes to this revision.
reames added inline comments.
This revision now requires changes to proceed.
================
Comment at: include/llvm/Analysis/LoopInfoImpl.h:89
SmallVector<BlockT *, 4> ExitBlocks;
getExitBlocks(ExitBlocks);
+ SmallPtrSet<BlockT *, 4> UniqExitBlocks;
----------------
Please see: getUniqueExitBlocks on Loop.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68107/new/
https://reviews.llvm.org/D68107
More information about the llvm-commits
mailing list