[PATCH] D60753: [NFCI] Split isPotentiallyReachable into two implementations.

Nick Lewycky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 00:42:47 PDT 2019


nicholas created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
nicholas added a parent revision: D60752: [NFCI] Use less memory by storing the Loop* as visited instead of storing each BasicBlock* in the block as visited..

The new implementations are one "fast path" implementation using the DominatorTree and not supporting ExcludedBlocks, and a "slow path" that walks BasicBlocks and supports ExcludedBlocks. Both take advantage of LoopInfo if available.


https://reviews.llvm.org/D60753

Files:
  llvm/lib/Analysis/CFG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60753.195306.patch
Type: text/x-patch
Size: 6287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190416/a3f747be/attachment.bin>


More information about the llvm-commits mailing list