[PATCH] D32720: [LICM] Introduce a finer granularity option to compute early exits.

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 10:46:09 PDT 2017


I'm going to split off your OrderedInstructions part and iterate on it if
you don't mind.
I'd like to clean up PredicateInfo and a few other use cases (and kill all
the existing users/remove the Use API in Dominators, and just leave a note
to use OrderedInstructions)

On Mon, May 1, 2017 at 5:33 PM, Xin Tong via Phabricator <
reviews at reviews.llvm.org> wrote:

> trentxintong updated this revision to Diff 97371.
> trentxintong added a comment.
> Herald added a subscriber: mgorny.
>
> Add a dominanance check interface that uses caching for instructions
> within same basic block.
>
> I do not particularly like the name. I will see whether i can come up with
> a better one later.
>
>
> https://reviews.llvm.org/D32720
>
> Files:
>   include/llvm/Transforms/Utils/LoopUtils.h
>   include/llvm/Transforms/Utils/OrderedInstructions.h
>   lib/Transforms/Scalar/LICM.cpp
>   lib/Transforms/Utils/CMakeLists.txt
>   lib/Transforms/Utils/LoopUtils.cpp
>   lib/Transforms/Utils/OrderedInstructions.cpp
>   test/Transforms/LICM/loop-early-exits.ll
>   test/Transforms/LICM/preheader-safe.ll
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170517/53e290ea/attachment.html>


More information about the llvm-commits mailing list