[PATCH] D47816: [InstCombine] Stop sinking instructions across function call.

Renlin Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 05:08:56 PDT 2018


renlin added a comment.

In https://reviews.llvm.org/D47816#1136432, @lebedev.ri wrote:

> In https://reviews.llvm.org/D47816#1136426, @renlin wrote:
>
> > In https://reviews.llvm.org/D47816#1136346, @lebedev.ri wrote:
> >
> > > I'm seeing `what`, but not `why`.
> > >  What is the motivation behind this change?
> > >  What problem is it trying to solve?
> >
> >
> > In one of the test case I have, the sinking of a load instruction (together with the operands used) across a inlined function increases the number of instructions generated.
>
>
> Instructions as in IR instructions? Or the instructions in the final assembly?


Final machine assembly.


https://reviews.llvm.org/D47816





More information about the llvm-commits mailing list