[PATCH] D35528: [Dominators] Teach LoopUnswitch to use the incremental API

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 18:53:15 PDT 2017


kuhar created this revision.
Herald added a subscriber: mzolotukhin.
Herald added a reviewer: grosser.

This patch makes LoopUnswitch use new incremental API for updating dominators.
It also updates SplitCriticalEdge, as it is called in LoopUnswitch.

There doesn't seem to be any noticeable performance difference when bootstrapping clang with this patch.


https://reviews.llvm.org/D35528

Files:
  lib/Transforms/Scalar/LoopUnswitch.cpp
  lib/Transforms/Utils/BreakCriticalEdges.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35528.107009.patch
Type: text/x-patch
Size: 6156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170718/d65b89eb/attachment.bin>


More information about the llvm-commits mailing list