[LLVMdev] [RFC] LCSSA vs. SSAUpdater ... FIGHT!

Chandler Carruth chandlerc at gmail.com
Sat Feb 1 22:58:45 PST 2014


On Sat, Feb 1, 2014 at 10:51 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> What is the benefit of merging them? LoopSimplify is certainly useful
> without LCSSA, and LCSSA is certainly useful without LoopSimplify's
> canonicalization. Also, and I don't know if this matters, but LoopSimplify
> can "fail" (for non-natural loops, at least), LCSSA cannot fail.


Forming LCSSA is simpler with simplified loops, and when the loop is
simplified we should take advantage of it. Also, by doing them at the same
time we can have better locality and fewer trips over the various data
structures.

There's no important reason, it just seems a nicer organization to have a
single "canonicalize" step.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140201/b6b2b990/attachment.html>


More information about the llvm-dev mailing list