[PATCH] [InstructionMerge - GVN] hoisting and sinking of equivalent memory instructions in diamonds

Gerolf Hoflehner ghoflehner at apple.com
Fri May 2 15:20:59 PDT 2014


I look at GVN as the place that handles equivalent computations (full and partial, since it also covers at least some PRE).
On the other hand the current implementation of the InstructionMerge is independent of the GVN infrastructure and
so could run as stand-alone pass with its merits and costs.

-Gerolf



On May 2, 2014, at 2:15 PM, Chandler Carruth <chandlerc at google.com> wrote:

> 
> On Tue, Apr 29, 2014 at 12:31 PM, Gerolf Hoflehner <ghoflehner at apple.com> wrote:
> It runs as part of GVN in the GVN preparation
> loop.
> 
> Quick question before I dig any deeper -- why inside of GVN? Could this just be a stand-alone pass?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140502/6731c62e/attachment.html>


More information about the llvm-commits mailing list