[llvm] r199884 - [LPM] Make LoopSimplify no longer a LoopPass and instead both a utility

Diego Novillo dnovillo at google.com
Fri Jan 24 05:53:54 PST 2014


On Thu, Jan 23, 2014 at 6:23 AM, Chandler Carruth <chandlerc at gmail.com> wrote:

> This has many benefits. The motivating use case was to be able to
> compute function analysis passes *after* running LoopSimplify (to avoid
> invalidating them) and then to run other passes which require
> LoopSimplify. Specifically passes like unrolling and vectorization are
> critical to wire up to BranchProbabilityInfo and BlockFrequencyInfo so
> that they can be profile aware. For the LoopVectorize pass the only
> things in the way are LoopSimplify and LCSSA. This fixes LoopSimplify
> and LCSSA is next on my list.

Excellent! But this still does not mean that I can use BFI inside the
loop unroller, right?

Diego.



More information about the llvm-commits mailing list